Hi,
Using php5 I´m making soap requests to a webservice based on a wsdl that doesn´t use the Header element.
Everything, Í´ve been asked now to use gzip compression on my soap requests.
So my client now looks like this:
$client = new SoapClient(xxxxx.wsdl', array('compression'=> SOAP_COMPRESSION_ACCEPT | SOAP_COMPRESSION_GZIP, 'trace' => 1, ));
I´ve googled a bit and I found sites saying I should also add the gzip compression level (add | 9) after SOAP_COMPRESSION_GZIP, but when I do that I get a soap fault back "Content is not allowed in prolog" , so I dropped the pipe 9)
Question please as I´m no expert in soap, with above notation I don´t get any errors on the outbound xml request nor on the return request, so....how do I know if my gzip compression is working and if so is being acknowledged on the other side...?
Thanks in advance for your help, Pablo