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

php - trouble displaying mysqli database results in correct order -

depending on nth recurrence of job in control M -

sql server - Cannot query correctly (MSSQL - PHP - JSON) -