WLS 10.3: Issue Unmarshalling SOAP Response from JAX-RPC Service Control.
(Doc ID 1268007.1)
Last updated on SEPTEMBER 25, 2020
Applies to:
Oracle WebLogic Server - Version 10.3 and laterInformation in this document applies to any platform.
Symptoms
Different behavior may be observed if Webservice is invoked via JAX-RPC Service Control versus XML Bean Service Control.
With JAX-RPC Service Control, an exception may be thrown during the unmarshalling process from a SOAP response to JAX-RPC Web Service Classes.
This exception is thrown for some types:
<faultstring>aa.bb.services.types.SomeType cannot be cast to java.math.BigInteger</faultstring>
<detail>
<bea_fault:stacktrace xmlns:bea_fault="http://www.bea.com/servers/wls70/webservice/fault/1.0.0">java.lang.ClassCastException: aa.bb.services.types.SomeType cannot be cast to java.math.BigInteger
at com.bea.staxb.runtime.internal.IntegerTypeConverter.print(IntegerTypeConverter.java:52)
at com.bea.staxb.runtime.internal.SimpleContentBeanMarshaller.print(SimpleContentBeanMarshaller.java:52)
at com.bea.staxb.runtime.internal.RuntimeBindingProperty.getLexical(RuntimeBindingProperty.java:154)
at com.bea.staxb.runtime.internal.PushMarshalResult.writeCharData(PushMarshalResult.java:639)
<detail>
<bea_fault:stacktrace xmlns:bea_fault="http://www.bea.com/servers/wls70/webservice/fault/1.0.0">java.lang.ClassCastException: aa.bb.services.types.SomeType cannot be cast to java.math.BigInteger
at com.bea.staxb.runtime.internal.IntegerTypeConverter.print(IntegerTypeConverter.java:52)
at com.bea.staxb.runtime.internal.SimpleContentBeanMarshaller.print(SimpleContentBeanMarshaller.java:52)
at com.bea.staxb.runtime.internal.RuntimeBindingProperty.getLexical(RuntimeBindingProperty.java:154)
at com.bea.staxb.runtime.internal.PushMarshalResult.writeCharData(PushMarshalResult.java:639)
Changes
Upgrading from WLS 8.x to 10.3.0.
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Changes |
Cause |
Solution |
References |