WSDL Generation with arrays

Tuesday, June 10, 2008

Currently WSF/PHP generates WSDL using the annotation mechanism. But this works only if you hard code the annotation in your script page. How if your operation parameters and operations change dependingon the user configuration. In fact that happened when we were providing Data Service Library. There we needed to generate the WSDL according the data base schema information, which can be configured by the library user.

So we came up with a mechanism to describe the service operation and operation parameters using arrays in addition to the annotation API already shipping with WSF/PHP.

You can visit here, for complete demonstration on the array based annotation API which is to going to be part of the WSF/PHP next release.

No comments: