I’m developing a Soap Client that sends some info to a SAP Soap Server (developed and maintained by a third party). The error that I’ve got is the following: SOAP-ERROR: Parsing WSDL: Unknown required WSDL extension ‘http://schemas.xmlsoap.org/ws/2004/09/policy’
Doing some research some of the solutions are:
Change the policy tag from
<wsp:UsingPolicy wsdl:required="false"/>. The problem here is that doing that then anyone can access the SOAP service without authentication but in the other hand I’m not the owner of this SOAP service so it will be hard to do the change.
Change the policy in the URL from …wsdl/flv_10002A1 1 1AD1/bndg_url/… to …wsdl/flv_10002A1 0 1AD1/bndg_url/… but doing this I’ve got the following error: Could not connect to host
At this moment I’m lost on this so any help would be really appreciate, Thanks!