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