WCF
WSDL: /Service.svc?wsdl
Default: SoapClient send http request with header: Content-Type = text/xml;charset=UTF-8
If option "soap_version" is set to SOAP_1_2 when construct, SoapClient will send Content-Type = application/soap+xml;charset=UTF-8
If you got error "SoapFault exception: [HTTP] Cannot process the message because the content type 'application/soap+xml; charset=utf-8... was not the expected type 'application/x-gzip'", you should check and change customBinding on the .NET server.
Title:
PHP SoapClient call .NET service error application/x-gzip
Description:
WCF WSDL: /Service.svc?wsdl Default: SoapClient send http request with header: Content-Type = text/xml;charset=UTF-8 If option "soa...
...
Rating:
4