<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic SOAP decoder parsing error in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/soap-decoder-parsing-error/m-p/4937322#M1151663</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi experts,&lt;/P&gt;&lt;P&gt;                I am calling RFC from Flex using import option in FlexBuilder3. This RFC gets data from a table.&lt;/P&gt;&lt;P&gt;I debugged the code and found that data is there in the result Object. The problem arise when the proxy class tries to decode the result. I get following error&lt;/P&gt;&lt;P&gt;" Error: Cannot find definition for type 'urn:sap-com:document:sap:rfc:functions::char40' "&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the code is &lt;/P&gt;&lt;P&gt;var decoder:SOAPDecoder = new SOAPDecoder();&lt;/P&gt;&lt;P&gt;var soapResult:SOAPResult = decoder.decodeResponse(result.message.body);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Trilochan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 17 Dec 2008 11:33:28 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-12-17T11:33:28Z</dc:date>
    <item>
      <title>SOAP decoder parsing error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/soap-decoder-parsing-error/m-p/4937322#M1151663</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi experts,&lt;/P&gt;&lt;P&gt;                I am calling RFC from Flex using import option in FlexBuilder3. This RFC gets data from a table.&lt;/P&gt;&lt;P&gt;I debugged the code and found that data is there in the result Object. The problem arise when the proxy class tries to decode the result. I get following error&lt;/P&gt;&lt;P&gt;" Error: Cannot find definition for type 'urn:sap-com:document:sap:rfc:functions::char40' "&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the code is &lt;/P&gt;&lt;P&gt;var decoder:SOAPDecoder = new SOAPDecoder();&lt;/P&gt;&lt;P&gt;var soapResult:SOAPResult = decoder.decodeResponse(result.message.body);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Trilochan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Dec 2008 11:33:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/soap-decoder-parsing-error/m-p/4937322#M1151663</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-17T11:33:28Z</dc:date>
    </item>
    <item>
      <title>Re: SOAP decoder parsing error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/soap-decoder-parsing-error/m-p/4937323#M1151664</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Trilly,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The FB3 WSDL introspection process produces proxy code that does not handle SAP data types properly when they are in anything but the most fundamental elements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A workaround for this is to build wrapper RFC-enabled function modules that basically cast all data types to strings. This issue has been logged with Adobe as a bug.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An easier way might be just to call the web service directly rather than use the generated code - this is Dan McWeeney's suggestion and when it comes to Flex I take notice of Dan's suggestions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Graham Robbo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 20 Dec 2008 00:22:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/soap-decoder-parsing-error/m-p/4937323#M1151664</guid>
      <dc:creator>GrahamRobbo</dc:creator>
      <dc:date>2008-12-20T00:22:15Z</dc:date>
    </item>
    <item>
      <title>Re: SOAP decoder parsing error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/soap-decoder-parsing-error/m-p/4937324#M1151665</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am having the same problem as Trilochan.&lt;/P&gt;&lt;P&gt;I am using a webservice that returns a simple table from abap.&lt;/P&gt;&lt;P&gt;While debugging, the data is available  in the resulting message. However the decoder fails to convert them, making all return values null. &lt;/P&gt;&lt;P&gt;This while using the wsdl import tool in Flex builder 3. If i call the webservice manually, the result is the same, with resultformat Object, e4x or xml. Data isn't converted properly and returns null values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't get an error message like Trilochan does though.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Feb 2009 10:34:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/soap-decoder-parsing-error/m-p/4937324#M1151665</guid>
      <dc:creator>joramsomers</dc:creator>
      <dc:date>2009-02-13T10:34:13Z</dc:date>
    </item>
    <item>
      <title>Re: SOAP decoder parsing error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/soap-decoder-parsing-error/m-p/4937325#M1151666</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try to use  "e4x" for the resultFormat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You shouldn't have problems then to decode the result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Oct 2009 10:45:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/soap-decoder-parsing-error/m-p/4937325#M1151666</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-06T10:45:05Z</dc:date>
    </item>
  </channel>
</rss>

