How to easily consume a web service from PHP

后端 未结 7 1748
Happy的楠姐
Happy的楠姐 2020-11-27 10:50

Is there available any tool for PHP which can be used to generate code for consuming a web service based on its WSDL? Something comparable to clicking \"Add Web Reference\"

7条回答
  •  余生分开走
    2020-11-27 11:23

    I've had great success with wsdl2php. It will automatically create wrapper classes for all objects and methods used in your web service.

提交回复
热议问题