users@jax-rpc.java.net

JAX-RPC vs. Axis

From: Alexander Kouznetsov <alexander.kouznetsov_at_oracle.com>
Date: Tue, 28 Jun 2011 17:52:24 +0400

Guys,

Is it possible to use JAX-RPC with Axis web service? I tried a version
that comes with Glassfish 3 and got some easy operations working but for
more complicated some deserialization exceptions occur. With Apache Axis
everything works just fine.

Exception in thread "main" java.rmi.RemoteException: Runtime exception;
nested exception is:
deserialization error: deserialization error: unexpected XML reader
state. expected: END but found: START: id
at
com.sun.xml.rpc.client.StreamingSender._handleRuntimeExceptionInSend(StreamingSender.java:348)
at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:330)
at test.JiraSoapService_Stub.getIssue(JiraSoapService_Stub.java:376)
at rpcclient4.RPCClient4.main(RPCClient4.java:33)
Caused by: deserialization error: deserialization error: unexpected XML
reader state. expected: END but found: START: id
at
com.sun.xml.rpc.encoding.SOAPDeserializationContext.deserializeMultiRefObjects(SOAPDeserializationContext.java:107)
at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:256)
... 2 more
Java Result: 1

-- 
Best regards,
Alexander Kouznetsov