Re: WebServices server.wsdd namespace help
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