deserialization error
843834Oct 31 2002 — edited Jan 29 2003I am successfully making a JAX-RPC call when the client is running on the same machine as the server (Solaris using new Sunone Appserver7.) But when I move the exact same client to my Win2K PC, I get the following exception:
run:
[echo] Running the vta.VTAServiceClient program:
[echo] java -classpath .:C:\Sun\AppServer7\share\lib\jaxrpc-api.jar:C:\Sun
AppServer7\share\lib\jaxrpc-impl.jar:dist/vta-client.jar:C:\Sun\AppServer7\apps
rv\lib\appserv-ext.jar:C:\Sun\AppServer7\appserv\lib\appserv-webservices-rt.jar
C:\Sun\AppServer7\appserv\..\imq\lib\saaj-api.jar:C:\Sun\AppServer7\appserv\..\
mq\lib\imqxm.jar vta.VTAServiceClient http://172.16.2.30:81/jaxrpc-vta/jaxrpc/V
AServiceIF
[echo]
[java] java.rmi.RemoteException: Runtime exception; nested exception is:
[java] deserialization error: deserialization error: deserialization e
ror: unexpected XML reader state. expected: END but found: START: routeID
[java] at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender
java:234)
[java] at vta.VTAServiceIF_Stub.getRoutes(VTAServiceIF_Stub.java:58)
[java] at vta.VTAServiceClient.main(Unknown Source)
[java] Caused by: deserialization error: deserialization error: deserializ
tion error: unexpected XML reader state. expected: END but found: START: routeI
[java] at com.sun.xml.rpc.encoding.SOAPDeserializationContext.deserial
zeMultiRefObjects(SOAPDeserializationContext.java:65)
[java] at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender
java:175)
[java] ... 2 more
any ideas?
thanks,
Phil