just check out this article
http://www.macromedia.com/
Main Topics
Browse All TopicsHello
I am trying to consume a Webservice built in asp.net using Coldfusion. I’ve managed to my code to work but now have an issue with displaying the data returned by the webservice. My code goes like this:
<cfinvoke webservice="http://www.ser
<cfinvokeargument name="getData" value="all"/>
<cfinvokeargument name="userName" value="user"/>
<cfinvokeargument name="password" value="password"/>
</cfinvoke>
The thing is that the webservice returns data as a complex type and I don’t know how to deal with complex type data using Coldfusion, the wsdl shows the data type returned as below:
- <s:complexType>
- <s:sequence>
<s:element ref="s:schema" />
<s:any />
</s:sequence>
</s:complexType>
I have tried using <cfdump var="#XMLParse(dataSetResp
Document root element is missing.
Can someone let me know how I can deal with a complex data type returned from a webservice?
Thanks in advance.
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
just check out this article
http://www.macromedia.com/
Business Accounts
Answer for Membership
by: adonis1976Posted on 2006-01-16 at 17:42:59ID: 15716281
The data you are receiving from webservice is in an array and not xml. Try to do this to convert that to xml and if that works:
se)#
<cfxml variable="myxml">
<root>
#arraytoList(dataSetRespon
</root>
</cfxml>
now you will have an xml stucture stored in a variable "myxml"
you can manipulate the data using xml functions.