Skip to content
Advertisement

Tag: wsdl

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

PHP WSDL response as object

I am sending a request for response to a WSDL in PHP (code below). The response is structured in a way that I’m not sure how to extract data from it. It comes back as an object with the XML inside. Is there a standard way of parsing the XML of this object? Here is my code: ?> Here is

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: https://rewardsservices.griris.net/mapi/OrderManagementServices.svc?wsdl Operation called: exportPendingOrder Snippet of my SOAP Client: Log information (incl.

Advertisement