• 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: WebServices server.wsdd namespace help
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: WebServices server.wsdd namespace help


  • Subject: Re: WebServices server.wsdd namespace help
  • From: Francis Labrie <email@hidden>
  • Date: Tue, 4 Apr 2006 07:20:07 -0400

Hi,


Lachlan Deck wrote:
[...]
...and then accessing the wsdl file (such as "http://mysite.com:80/cgi-bin/WebObjects/MyApp.woa/ws/SomeName?WSDL") the file returned contains the instance number of the application.

------------------------------------------------------------------
<wsdl:definitions targetNamespace="http://mysite.com:80/cgi-bin/WebObjects/MyApp.woa/3/ws/SomeName?WSDL">
<...>
</wsdl:definitions>
------------------------------------------------------------------

I've tried adjusting the server.wsdd's globalConfiguration settings but I'm really shooting in the dark as I'm not exactly sure where to define the desired namespace.

Anyone got any ideas on this? Thanks.


Right now, the dynamic WSDL generation is not exposed to developers so there currently isn't a clean solution to perform this. One workaround is to hardcode rules (of com.webobjects.directtoweb.Assignment type) with the serviceLocationURL key for each operation that you want to use secure HTTPS references. For instance:

((operationName="anOperation") and (serviceName="Service")) ->
serviceLocationURL="https://host.net/cgi-bin/Service.woa/ws/Service"

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

(serviceName="Service") ->
serviceLocationURL="https://host.net/cgi-bin/Service.woa/ws/Service"

--
<x-tad-bigger>Francis Labrie</x-tad-bigger>
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

  • Follow-Ups:
    • Re: WebServices server.wsdd namespace help
      • From: Lachlan Deck <email@hidden>
    • Re: WebServices server.wsdd namespace help
      • From: Francis Labrie <email@hidden>
References: 
 >WebServices server.wsdd namespace help (From: Lachlan Deck <email@hidden>)

  • Prev by Date: Re: more oracle problems
  • Next by Date: Re: WebServices server.wsdd namespace help
  • Previous by thread: WebServices server.wsdd namespace help
  • Next by thread: Re: WebServices server.wsdd namespace help
  • Index(es):
    • Date
    • Thread