Hi,

Le 07 mars 2006, à 21:07, Corin Lawson a écrit :
How does one (or is it possible) to change the target namespace of the definitions (root) element of a wsdl doc of a web service registered by WO 5.2.4? I should like to remove the instance number, at least.

To be more specific I have this in the wsdl doc that is located at http://host-name/cgi-bin/WebObjects/app-name.woa/ws/service-name?wsdl:

<wsdl:definitions targetNamespace="http://host-name/cgi-bin/WebObjects/app-name.woa/5/ ws/service-name">


You can force the service location URL with a custom rule like this:

((operationName="anOperation") and (serviceName="service-name")) ->
serviceLocationURL="http://host-name/cgi-bin/WebObjects/app-name.woa/ ws/service-name"

If you need all operation to be called using a specific URL, you can also define a more generic rule like this one:

(serviceName="service-name") ->
serviceLocationURL="http://host-name/cgi-bin/WebObjects/app-name.woa/ ws/service-name"

You can find this information and more here:

http://www.wodev.com/cgi-bin/WebObjects/WODev.woa? wikiPage=WebServicesBugs http://www.wodev.com/cgi-bin/WebObjects/WODev.woa?wikiPage=WebServices

--
Francis Labrie
Saint-Bruno-de-Montarville, Québec, Canada

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to