users@jax-rpc.java.net

non-built-in/value data types and serialization/deserialzation pr oblems

From: Havaldar, Raghu <Raghu.Havaldar_at_ONSTAR.COM>
Date: Fri, 06 Sep 2002 16:01:54 -0400

Hi,

Environment:
- JAX-RPC RI 1.0.1
- Win2K
- JDK 1.3.1

I have defined a bunch of non-built-in/value types as per Section 5.4 of
the JAX-RPC spec. Each of them has a public no-arg constructor, and
have all the variables defined to be public.

When I try to use DII in a client and invoke the service, I get the
following error:

     [java] java.rmi.ServerException: Internal Server Error (deserialization
error: unexpected XML reader state. expected: END but found: START: esn)
     [java] at
com.sun.xml.rpc.client.StreamingSender._raiseFault(StreamingSender.java:357)
     [java] at
com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:228)
     [java] at
com.sun.xml.rpc.client.dii.CallInvokerImpl.doInvoke(CallInvokerImpl.java:54)
     [java] at
com.sun.xml.rpc.client.dii.BasicCall.invoke(BasicCall.java:279)
     [java] at
com.sun.xml.rpc.client.dii.CallInvocationHandler.doCall(CallInvocationHandle
r.java:96)
     [java] at
com.sun.xml.rpc.client.dii.CallInvocationHandler.invoke(CallInvocationHandle
r.java:68)
     [java] at $Proxy0.invoke(Unknown Source)
     [java] at com.onstar.vehcomm.client.LockUnlockClient.main(Unknown
Source)

Is this some kind of serialization/deserialization error or some internal
bug ? I have seen a similar problem
being reported on BugParade - # 4736947.



thanks,
raghu