WsdlToPhp / PackageGenerator

Generates a PHP SDK based on a WSDL, simple and powerful, WSDL to PHP
https://providr.io
MIT License
426 stars 73 forks source link

Is PackageGenerator's SOAP client asynchronous? #155

Closed PhilMcLachlan closed 6 years ago

PhilMcLachlan commented 6 years ago

If I make an API call to a WSDL generated class, will it be asynchronous? Will it wait until the server responds, before I can make another request?

mikaelcom commented 6 years ago

Currently not. It uses the native SoapClient class from the AbstractSoapClientBase class instanciated here.

You can use your own SoapClient class using the approach demonstrated at the PackageEws365 project.

But as illustrated in the generated methods, "alias" of the Soap operations, the asynchronous approach is currently not possible I think.

Let me know more about your needs.