Re: How to removing instance number from target namespace
Re: How to removing instance number from target namespace
- Subject: Re: How to removing instance number from target namespace
- From: Francis Labrie <email@hidden>
- Date: Wed, 8 Mar 2006 08:28:08 -0500
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@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden