Skip to content

Tag: soap-client

How to avoid SoapClient PHP to decode base64 response result?

Am using SoapClient (PHP) to retrieve data from a remote webservice. And I am able to communicate perfectly with this webservice. The request am sending is supposed to retrieve base64 encoded image data. It turned out that SoapClient automatically decode base64 response and the result looks like this: My question is how prevent this automatic decoding by SoapClient. My REST

Wrong namespaces assigned by PHP SOAP Client

I have little to no experience in SOAP. And I am interacting with a third party wsdl web service. For this I use PHP’s native SoapClient. When I send the request I’m getting an error response that states the following: The relevant parts of the autogenerated XML are as follow: If I take the autogenerated XML, change the namespace alias

Why the SOAP request is empty?

I develop the system to export some data from the client’s side using the SOAP. I have a link to their staging wsdl, and implemented some kind of the SOAP client, but unfortunately my SOAP request is empty and the response is the error one. Link to WSDL: Operation called: exportPendingOrder Snippet of my SOAP Client: Log information (incl.