Skip to Content
0
Former Member
May 18, 2009 at 02:29 PM

Text incompatible with javax.xml.soap.SOAPElement

422 Views

Hello,

While calling webservice getting the following response.

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>

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>

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.