hi,
I generated client stub using wsdl2java axis2, when i call a operation using stub and pass request object i get below error,
java.rmi.UnmarshalException: Failed to marshal error response: 'org.apache.axis2.AxisFault: org.apache.xmlbeans.XmlException: error: The content of elements must consist of well-formed character data or markup.' because exception ; nested exception is:
java.io.NotSerializableException: org.apache.axiom.soap.impl.llom.soap11.SOAP11FaultCodeImpl
at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:234)
at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:223)
Caused by: java.io.NotSerializableException: org.apache.axiom.soap.impl.llom.soap11.SOAP11FaultCodeImpl
Request is not generated in proper format, it comes like
<RequestInfo xmlns="">
<>1234</>
<>asda</>
< xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="1"></>
</RequestInfo>
empty tags are getting created in request.
Can you please help me resolve it.
Thanks in advance.
Regards.
I generated client stub using wsdl2java axis2, when i call a operation using stub and pass request object i get below error,
java.rmi.UnmarshalException: Failed to marshal error response: 'org.apache.axis2.AxisFault: org.apache.xmlbeans.XmlException: error: The content of elements must consist of well-formed character data or markup.' because exception ; nested exception is:
java.io.NotSerializableException: org.apache.axiom.soap.impl.llom.soap11.SOAP11FaultCodeImpl
at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:234)
at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:223)
Caused by: java.io.NotSerializableException: org.apache.axiom.soap.impl.llom.soap11.SOAP11FaultCodeImpl
Request is not generated in proper format, it comes like
<RequestInfo xmlns="">
<>1234</>
<>asda</>
< xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="1"></>
</RequestInfo>
empty tags are getting created in request.
Can you please help me resolve it.
Thanks in advance.
Regards.