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\"
I've had great success with wsdl2php. It will automatically create wrapper classes for all objects and methods used in your web service.