on 09-26-2008 8:47 PM
hi experts,
i have made a webservice of a function module with the wizard, and when i try to call the WS, with
php i receive the following error.
[WSDL] SOAP-ERROR: Parsing WSDL: Unexpected WSDL element <UsingPolicy>
$client = new SoapClient('zpanda.wsdl', array('login' => "XXXXX", 'password' => "fjlkda323fdsk", 'compression' => SOAP_COMPRESSION_ACCEPT | SOAP_COMPRESSION_GZIP, 'encoding' => 'utf-8' ));
print($client->ZWsPanda("16814224"));
Can i get some help in this issue?
Thanks for the support,
Cesar Felce
hi,
just do not use WS-Policy. To achieve this change the WSDL-URL fed to the constructor from
... wsdl11/ws_policy/document?sap-client=123
to
... wsdl11/standard/document?sap-client=123
and it works.
have fun,
anton
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi I have the same error. Ihave made this change to standard
http://atsetcro.heller-s.local:8000/sap/bc/srt/wsdl/sdef_Z_SRM_WE/wsdl11/ws_standard/document?sap-client=300&wsdl=1.1&mode=sap_wsdl
now getting the error
Invalid Response Code: (500) WSDL could not be generated. The requested URL was:"http://atsetcro.heller-s.local:8000/sap/bc/srt/wsdl/sdef_Z_SRM_WE/wsdl11/ws_standard/document?sap-client=300&wsdl=1.1&mode=sap_wsdl
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
In the transaction soamanager, in the business adminsitration tab, click on WebServices Administration.
Search for your webserice, apply the selection, then select the "Open WSDL document for selected binding"
and thats the url of the wsdl, and then change it for standard.
regards,
Cesar Felce
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.