Forums Register Login

Request XML not getting created properly using client stub

+Pie Number of slices to send: Send
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.

+Pie Number of slices to send: Send
Can you show us the relevant part(s) of the source files used to generate the client stubs, and the code use these stubs (along with the generated code for the stubs)?
Get meta with me! What pursues us is our own obsessions! But not this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 1271 times.
Similar Threads
RMI:at client side getting exceptrion like java.io.NotSerializableException
NotSerializableException: oracle.jdbc.driver.OracleConnection while binding connection obj to JNDI
jdk1.5 doesn't create skeleton what's the new way of doing this in 1.5
getDataAccessObject failed
NotSerializableException: oracle.jdbc.driver.OracleConnection while binding connection obj to JNDI
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 29, 2024 07:52:38.