• 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: Document style webservice
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Document style webservice


  • Subject: Re: Document style webservice
  • From: Lachlan Deck <email@hidden>
  • Date: Wed, 23 Aug 2006 11:04:30 +1000

Hi Doug,

On 17/08/2006, at 12:07 AM, Doug Andrews wrote:

I am having a difficult time converting an existing rpc style web service to a document style web service.

Never tried it...we're using RPC. But having just read up on it, this sound like something worth pursuing for our app.


I vend the service using:
WOWebServiceRegistrar.registerWebService(MyClassName.class, false);
This executes fine without errors.

However, I get the following error when i try to consume the service:

Couldnt find an appropriate operation for XML QName {0}
at org.apache.axis.providers.java.MsgProvider.processMessage (MsgProvider.java:108)
at org.apache.axis.providers.java.JavaProvider.invoke (JavaProvider.java:333)
at org.apache.axis.strategies.InvocationStrategy.visit (InvocationStrategy.java:71)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:150)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:120)
at org.apache.axis.handlers.soap.SOAPService.invoke (SOAPService.java:481)
at org.apache.axis.server.AxisServer.invoke(AxisServer.java:323)
at com.webobjects.appserver._private.WOWebService.performActionNamed (WOWebService.java:375)
at com.webobjects.appserver._private.WOActionRequestHandler._handleReques t(WOActionRequestHandler.java:240)
at com.webobjects.appserver._private.WOActionRequestHandler.handleRequest (WOActionRequestHandler.java:145)
at com.webobjects.appserver._private.WOWebServiceRequestHandler.handleReq uest(WOWebServiceRequestHandler.java:95)
at com.webobjects.appserver.WOApplication.dispatchRequest (WOApplication.java:1306)
at Application.dispatchRequest(Application.java:502)
at com.webobjects.appserver._private.WOWorkerThread.runOnce (WOWorkerThread.java:173)
at com.webobjects.appserver._private.WOWorkerThread.run (WOWorkerThread.java:254)
at java.lang.Thread.run(Thread.java:552)


There is only one method in MyClass.
I am using version 1.1 of axis.jar.

Does this error look familiar to anyone?

Our client uses Axis 1.4 - (the Server env WO 5.2.4 - using at least axis-1.1_2, possibly later. I'm not sure how to test this).


So you might like to try a later axis if possible...

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


References: 
 >Document style webservice (From: Doug Andrews <email@hidden>)

  • Prev by Date: Re: Generics and WO
  • Next by Date: Re: Java Client and Interface Builder crashes...
  • Previous by thread: Document style webservice
  • Next by thread: whywebobjects.org - WWDC followup
  • Index(es):
    • Date
    • Thread