soap client - How to pass GZip stream IN soapclient in php -


here using wsdl service. given below code access soapclient service in php.i new in using soapclient services.

$params contains array value , in 1 value contains base_64 encoded xml data  $client = new \soapclient($url, array('compression' => soap_compression_accept | soap_compression_gzip,     'trace'=>1)); $response = $client->__soapcall('my_function', array($params)); 

when call service got error

stdclass object ( [my_functionresult] => magic number in gzip header not correct. make sure passing in gzip stream. )

i tried fix issue failed. please me task. advance.


Comments

Popular posts from this blog

asynchronous - C# WinSCP .NET assembly: How to upload multiple files asynchronously -

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -