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
Post a Comment