Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

php

soap

client

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.

like image 896
BruneX Avatar asked May 08 '12 16:05

BruneX


1 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.

like image 169
ladenedge Avatar answered Nov 04 '22 04:11

ladenedge