Generate PHP code from WSDL (to replace a service)

We have few web services that are now processed by an external application, and we plan to replace them as a new native implementation.

Is there any tool / class that will generate a stock php interface and structures that are 100% compatible with the WSDL that we have now?

I will need to re-implement this wsdl interface, and I have to be sure that the interface itself (and not the logical implementation) will not change (even the WSDL layout should remain as it is)

I found several projects like: http://code.google.com/p/wsdl2php-interpreter

If any of you have used some things, please share tips, tool tips, etc. with me.

PS re-implementation will be performed on top of the Yii structure and the CWebService class

+3
source share
2 answers

I used http://code.google.com/p/wsdl2php-interpreter and based on the generated code I wrote web service controllers after Yii giude, and everything works fine and as expected :)

+1
source

The wsdl2php interpreter is limited - it does not process attributes and does not seem to process simpleTypes.

+2
source

Source: https://habr.com/ru/post/1761966/


All Articles