Hi List,

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">

Where the instance number, 5 in this case, changes upon each request. This seems to me to be bad practice, and appears to be generating this error:

com.webobjects.foundation.NSForwardException [javax.xml.rpc.ServiceException] Error processing WSDL document: javax.xml.rpc.ServiceException: Cannot find service: {http://host- name/cgi-bin/WebObjects/app-name.woa/5/ws/service-name} service-name: Unable to create axis service with url http://host-name/cgi-bin/ WebObjects/app-name.woa/ws/service-name?wsdl and QName {http://host- name/cgi-bin/WebObjects/app-name.woa/5/ws/service-name} service-name: Exception trying to invoke operation: operation-name

What I interrupt this message to be is that WO has parsed the wsdl doc received instance 5 and parsed it again (for some unknown reason) expecting the same wsdl doc but instead received the wsdl doc for a different instance, say 1. (BTW I have since discovered the unknown reason and fixed... I was not maintaining the session appropriately.)

Cheers,

Corin.



_______________________________________________
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