Copy link to clipboard
Copied
invoking this webservice returns this complex object - instead of the xml results expected.
any ideas what is wrong with the ws call? or is the problem with the 3rd party webservice?
<cfinvoke
webservice="http://utilities.learnlive.com/feedretrieval/Service.asmx?WSDL"
method="GetProgramFeed"
returnvariable="w_result"
>
<cfinvokeargument name="company_id" value="1660">
<cfinvokeargument name="type_id" value="1">
<cfinvokeargument name="start_date" value="">
<cfinvokeargument name="end_date" value="">
</cfinvoke>
object of com.learnlive.www.GetProgramFeedResponseGetProgramFeedResult | |||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Class Name | com.learnlive.www.GetProgramFeedResponseGetProgramFeedResult | ||||||||||||||||
Methods |
|
Copy link to clipboard
Copied
My guess is your remote web service is actually returning a complex object as a response instead of a simple XML string - very common for .NET web service developers unfortunately, but a pain in the neck for us CF folks. There are two solutions- either handle retrieving your data from the object using its built-in properties/methods (take a look at the WSDL for tips) or if you are on good terms with the web service developer, see if they can set you up with a method that does the same thing, but returns a simpe data type.
Copy link to clipboard
Copied
Actually, now that I look closer at the WSDL, I'm wonding if its the <s:any /> type of the response element that is causing issues - you might want to look into whether or not CF has problems retrieving data that has been typed to xsd:any.