Is there a tool for PHP which can generate code for consuming a web service based on its WSDL? Something comparable to clicking "Add Web Reference" in Visual Studio or the Eclypse plugin which does the same thing for Java.
I've had great success with wsdl2php. It will automatically create wrapper classes for all objects and methods used in your web service.
The content is written by members of the stackoverflow.com community.
It is licensed under cc-wiki