06-13-2007 9:11 PM
Hi All,
I am calling R/3 webservices in Flex builder using <mx:webservice> tag. but the wsdl is not accepting additional parameters like &, = ....
when I try to run this code Flex builder is generating an error
<mx:WebService id="ws" wsdl="http://localhost.com:8088/sap/bc/srt/rfc/sap/Z_SIMPLE_TEST_WS?<b>sap-client=030</b>&wsdl<b>=1.1</b>"
useProxy="false"
result="handleResult(event)"
fault="handleFault(event)" showBusyCursor="true" >
and when I remove the <b>sap-client=030&</b> and <b>=1.1</b> from the wsdl, the program gets executed, however SAP is calling client 010 as that is the default client.
I would appreciate if anyone can tell how to pass the parameter sap-client=030 in Flex.
Thanks,
Madhavi
Message was edited by:
Madhavi<b></b>
Message was edited by:
Madhavi
06-15-2007 7:47 AM
its because of the & sign. instead use it like below it will work.
Z_SIMPLE_TEST_WS?sap-client=030&emp;wsdl=1.1
in the above line replace 'e' in emp with 'a' (amp)
Raja
06-15-2007 4:13 PM
Hi Raja,
Thankyou very much. It workd as u said.
Thanks once again.
Madhavi