Hi,

Corin Lawson wrote:
I believe that this is a bug or a design flaw. Any comments or suggestions?

I am using WO 5.2.4 on Mac OS X Server.

Under certain conditions I receive the following exception when trying to invoke an operation of a web service that has more than one instance running.

com.webobjects.foundation.NSForwardException [javax.xml.rpc.ServiceException] Error processing WSDL document: javax.xml.rpc.ServiceException: Cannot find service: {http://127.0.0.1/cgi-bin/WebObjects/Calculator.woa/2/ws/ Calculator}Calculator: Unable to create axis service with url http://localhost/cgi-bin/WebObjects/Calculator.woa/ws/Calculator?wsdl and QName {http://127.0.0.1/cgi-bin/WebObjects/Calculator.woa/2/ws/ Calculator}Calculator: Exception trying to invoke operation: add com.webobjects.webservices.client.WOWebServiceClient.invoke(WOWebServic eClient.java:493)
[...]


I would suggest to force namespaces using rules as described here, to avoid instance number and wrong hostname in WSDL:

http://en.wikibooks.org/wiki/Programming:WebObjects/Web_Services/ Problems#DirectToWebService_can.27t_return_a_WSDL_with_custom_namespace_ and_definitions_name_in_it_.28WO_5.2.x.29

--
Francis Labrie
Saint-Bruno-de-Montarville, Québec, Canada

_______________________________________________
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