Tuesday, January 29, 2008

Changing the Service Name

WSF/PHP uses the php file location to generate a unique service name which is used to store the service configuration information in the Underlying WSF/C Library. We used "" simple to seperate out the folder paths so that the generated string will be unique for a given file.
This was however causing problems with the generated WSDL file as other WSDL parsers complained of this symbol.

We have now fix this issue by allowing the user to specify a unique service name for a given file. In addition , if the user does not sepcify the "serviceName" option, a service name will be generated using the "_" to separate the folder paths. How ever this may not generate a unique name all the time.
So if you are using WSF/PHP now it is possible to configue your service name.

Eg

WSService(array("serviceName"=>"MyService"));

No comments:

Post a Comment