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 protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to