cancel
Showing results for 
Search instead for 
Did you mean: 

Text incompatible with javax.xml.soap.SOAPElement

Former Member
0 Kudos

Hello,

While calling webservice getting the following response.

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

<soapenv:Header>

<eb:MessageHeader soapenv:mustUnderstand="1" version="2.0" xmlns:eb="http://www.oasis-open.org/committees/ebxml-msg/schema/msg-header-2_0.xsd">

<eb:From>

<eb:PartyId>Aviall</eb:PartyId>

</eb:From>

<eb:To>

<eb:PartyId>Client</eb:PartyId>

</eb:To>

<eb:CPAId>CPAId</eb:CPAId>

<eb:ConversationId>1</eb:ConversationId>

<eb:Service>urn:oasis:names:tc:ebxml-msg:service:error</eb:Service>

<eb:Action>Acknowledgment</eb:Action>

<eb:MessageData>

<eb:MessageId>20090518092546-0500Action</eb:MessageId>

<eb:RefToMessageId/>

<eb:Timestamp>2009-05-18T09:25:46.601-05:00</eb:Timestamp>

</eb:MessageData>

</eb:MessageHeader>

<eb:ErrorList highestSeverity="Error" id="AVL-ERR" version="2.0" xmlns:eb="http://www.oasis-open.org/committees/ebxml-msg/schema/msg-header-2_0.xsd">

<eb:Error errorCode="SYSEX" severity="high">

<eb:Description>com.ibm.ws.webservices.engine.xmlsoap.Text incompatible with javax.xml.soap.SOAPElement</eb:Description>

</eb:Error>

</eb:ErrorList>

</soapenv:Header>

<soapenv:Body>

<soapenv:Fault>

<faultcode>SYSEX</faultcode>

<faultstring>com.ibm.ws.webservices.engine.xmlsoap.Text incompatible with javax.xml.soap.SOAPElement</faultstring>

<detail>

<INVALID_INPUT>

* <description>java.lang.ClassCastException: com.ibm.ws.webservices.engine.xmlsoap.Text incompatible with javax.xml.soap.SOAPElement</description>*

* </INVALID_INPUT>*

</detail>

</soapenv:Fault>

</soapenv:Body>

</soapenv:Envelope>

Please let me know what might be the problem for the same. I called the webservice from XMLSPY.

Regards,

Sreenivas.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Problem with webservice strucutre

former_member200962
Active Contributor
0 Kudos

compare this payload with any successfully processed SOAP message..there seems to be a problem in the message format used

Also did you try testing the scenario from RWB...if no then please check

Edited by: abhishek salvi on May 19, 2009 10:09 AM

Former Member
0 Kudos

Hello,

Can any one help me out.

Regards,

Sreenivas