‎2009 Nov 05 9:26 AM
Dear experts,
I want to consume an abap webservice in my FLEX 3. 0 application.
I get "SOAP response cannot be decoded. Raw response" error.
Here is my code. Thanks for helping!!
<mx:WebService id="abapWS" service="service" port="Z_PO_OVERVIEW" wsdl="{encodeURI(abapWSDL)}" makeObjectsBindable="true" useProxy="false">
<mx:operation name="ZPoOverview" result="onResult()" fault="onFault(event)" resultFormat="e4x">
<mx:request>
<Vendor>0000005550</Vendor>
<Createdonmin>22102009</Createdonmin>
<Createdonmax></Createdonmax>
<Material></Material>
<Internalorder></Internalorder>
<PoNotReleased></PoNotReleased>
<Purchaseorder></Purchaseorder>
<ReturnBapi></ReturnBapi>
<PoHeaders> </PoHeaders>
<PoItems></PoItems>
</mx:request>
</mx:operation>
</mx:WebService>
private function initApp():void{
txt = "send is called";
abapWS.ZPoOverview.send();
txt_test.text = txt;
}
private function onResult():void{
txt_test.text = txt;
}
private function onFault(event:FaultEvent):void{
txt = event.fault.toString();
txt_test.text = txt;
}
‎2009 Nov 07 6:07 AM
did you search this form for this error?
http://forumsa.sdn.sap.com/search.jspa?threadID=&q=SOAPresponsecannotbedecoded.Rawresponse&objID=f272&dateRange=all&numResults=15