• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How to removing instance number from target namespace
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >How to removing instance number from target namespace (From: Corin Lawson <email@hidden>)

  • Prev by Date: Re: setting up SSL and certs
  • Next by Date: Re: Starting a direct Action when a file is put into the file system
  • Previous by thread: How to removing instance number from target namespace
  • Next by thread: WODisplayGroup & RawRows
  • Index(es):
    • Date
    • Thread