aspose file tools*
The moose likes Web Services and the fly likes deserialization ERROR Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "deserialization ERROR" Watch "deserialization ERROR" New topic
Author

deserialization ERROR

usama munir
Greenhorn

Joined: Jul 06, 2005
Posts: 5
im calling a payments web service from
a stub made from JDeveloper and
im getting the following error:

java.rmi.RemoteException: Runtime exception; nested exception is:
deserialization error: unexpected XML reader state. expected: END but found: START: clearerID

at oracle.j2ee.ws.client.StreamingSender._handleRuntimeExceptionInSend(StreamingSender.java:102)

at oracle.j2ee.ws.client.StreamingSender._sendImpl(StreamingSender.java:314)

at oracle.j2ee.ws.client.StreamingSender._send(StreamingSender.java:98)

at com.dps.services.payments.runtime.CheckAuthorizationServicePortSoapBinding_Stub.createCheckAuthorization(CheckAuthorizationServicePortSoapBinding_Stub.java:251)

at com.dps.services.payments.CheckAuthorizationServicePortClient.createCheckAuthorization(CheckAuthorizationServicePortClient.java:359)

at com.dps.services.payments.CheckAuthorizationServicePortClient.main(CheckAuthorizationServicePortClient.java:234)

Caused by: deserialization error: unexpected XML reader state. expected: END but found: START: clearerID

at oracle.j2ee.ws.common.util.exception.JAXRPCExceptionBase.<init>(JAXRPCExceptionBase.java:75)

at oracle.j2ee.ws.common.util.exception.JAXRPCExceptionBase.<init>(JAXRPCExceptionBase.java:71)

at oracle.j2ee.ws.common.encoding.DeserializationException.<init>(DeserializationException.java:61)

at oracle.j2ee.ws.common.encoding.ObjectSerializerBase.deserialize(ObjectSerializerBase.java:224)

at oracle.j2ee.ws.common.encoding.ReferenceableSerializerImpl.deserialize(ReferenceableSerializerImpl.java:140)

at com.dps.services.payments.runtime.CheckAuthorizationServicePortSoapBinding_createCheckAuthorization_RespS_SOAPSerializer.doDeserialize(CheckAuthorizationServicePortSoapBinding_createCheckAuthorization_RespS_SOAPSerializer.java:42)

at oracle.j2ee.ws.common.encoding.ObjectSerializerBase.deserialize(ObjectSerializerBase.java:179)

at oracle.j2ee.ws.common.encoding.ReferenceableSerializerImpl.deserialize(ReferenceableSerializerImpl.java:140)

at com.dps.services.payments.runtime.CheckAuthorizationServicePortSoapBinding_Stub._deserialize_createCheckAuthorization(CheckAuthorizationServicePortSoapBinding_Stub.java:347)

at com.dps.services.payments.runtime.CheckAuthorizationServicePortSoapBinding_Stub._readFirstBodyElement(CheckAuthorizationServicePortSoapBinding_Stub.java:295)

at oracle.j2ee.ws.client.StreamingSender._sendImpl(StreamingSender.java:243)

... 4 more

can anyone please help me in this issue.
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12805
    
    5
If this was my problem I would start by using TCPMON or similar program to capture the full text of the SOAP messages being sent and received. The problem may be obvious when you look at the full text. The AXIS toolkit includes a copy of TCPMON.

Bill
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: deserialization ERROR