Home » Php » How to generate client PHP code for SOAP using SOAP UI?

How to generate client PHP code for SOAP using SOAP UI?

Posted by: admin July 12, 2020 Leave a comment

Questions:

Googling I’ve found this article:

http://java.dzone.com/tips/generating-client-java-code

It talk about how to generate a “JAVA” code with SOAP UI client, but what I need is to generate code php with soap UI or other resource.

Is this possible? exist any other resource to make it work that?

thank you for your answers..

Regards.

How to&Answers:

soapUI will not generate PHP code.

Fortunately, in PHP there often isn’t a need to generate proxy classes. Instead, use SoapClient and simply call the SOAP methods you need outright. You can find simple examples at various blogs.

If the service with which you’re interacting uses lots of complex types, then you may indeed want to auto-generate some PHP code and make use of SoapClient’s classmap option.