• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Cannot find service
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cannot find service


  • Subject: Re: Cannot find service
  • From: Francis Labrie <email@hidden>
  • Date: Wed, 31 May 2006 08:50:46 -0400

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@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Cannot find service (From: Corin Lawson <email@hidden>)

  • Prev by Date: Fwd: XML serialization and PDF, small trouble
  • Next by Date: Re: Servlet WSDL and Session-ed Endpoints
  • Previous by thread: Cannot find service
  • Next by thread: Xcode java support
  • Index(es):
    • Date
    • Thread