Re: WebServices server.wsdd namespace help
Re: WebServices server.wsdd namespace help
- Subject: Re: WebServices server.wsdd namespace help
- From: Lachlan Deck <email@hidden>
- Date: Wed, 5 Apr 2006 11:53:26 +1000
Hi there,
On 04/04/2006, at 9:20 PM, Francis Labrie wrote:
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"
Thanks for the suggestion. I'll look into that. I'm not sure it'll
help as I'm not using DirectToWebServices.
with regards,
--
Lachlan Deck
_______________________________________________
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