When you are working on code first approach you want to derive the contract WSDL from the code that you already have for the Web Service.
If you may have worked on Java or .NET Web Services you already familiarized with this approach. PHP developers are also provided the opportunity to work on this approach with WSF/PHP. You only need to give a simple introduction for your service operations and their parameter types as annotations, and you will get the WSDL generated in a flash.
Here is how you will put the annotations for a simple operation like add. Read the rest of this entry »