• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Webservice Result - from asp

New Here ,
Apr 19, 2009 Apr 19, 2009

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 Namecom.learnlive.www.GetProgramFeedResponseGetProgramFeedResult
Methods
Method Return Type
equals(java.lang.Object)boolean
getDeserializer(java.lang.String, java.lang.Class, javax.xml.namespace.QName)org.apache.axis.encoding.Deserializer
getSerializer(java.lang.String, java.lang.Class, javax.xml.namespace.QName)org.apache.axis.encoding.Serializer
getTypeDesc()org.apache.axis.description.TypeDesc
get_any()org.apache.axis.message.MessageElement[]
hashCode()int
set_any(org.apache.axis.message.MessageElement[])void

TOPICS
Advanced techniques

Views

365

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
Apr 23, 2009 Apr 23, 2009

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
Apr 23, 2009 Apr 23, 2009

Copy link to clipboard

Copied

LATEST

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation