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)
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
To do a great right, do a little wrong - shakepeare. twisted little ad:
a bit of art, as a gift, the permaculture playing cards