No, your http://schemas.xmlsoap.org/soap/envelope/
is SOAP 1.1 and requested is http://www.w3.org/2003/05/soap-envelope/
, the SOAP 1.2 namespace.
Don't get confused by the soap
/SOAP-ENV
or axis
/ns1
, they are just namespace prefixes.
Also your first message seems to be missing the declaration of the axis2
namespace prefix, but I suppose xmlns:ws="http://ws.dgpys.deloitte.com"
is meant to read xmlns:axis2="http://ws.dgpys.deloitte.com"
.
If the provider asks you to send SOAP 1.2, then use a SOAP 1.2 namespace and message format. This is why relevant code should be present in your question, but you need to instantiate your SoapClient
like this:
$client = new SoapClient("some.wsdl", array('soap_version' => SOAP_1_2));