my dog learned polymorphism*
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
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: 12761
    
    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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: deserialization ERROR
 
Similar Threads
deserialization error: unexpected XML reader state. expected: END but found
JAX-RPC - deserialization error: unexpected XML reader state.
deserialization error: unexpected XML reader state.
jwsdp 2.0 unable to deserialize SoapFault from axis webservice
deserialization error: XML reader error: unexpected character content: "<?xml version='1.0' ?>