It looks like you're getting an XML document (including the actual XML declaration) embedded within your SOAP body. This is not valid XML. Try taking a look at the raw data being exchanged to see what's going on (I use the Apache Axis Tcpmon tool for this, since it's simple and easy to set up; when I update JibxSoap I'll include a copy of Tcpmon in the distribution).

 - Dennis

Tim Sawyer wrote:

Hi,

I'm trying to call a login transaction I have written using jibx-soap and I'm getting the following error. Can someone point me towards where I might look for a solution?

Caused by: org.jibx.soap.SOAPException: Error unmarshalling message body
Root cause: org.jibx.runtime.JiBXException: Error parsing document (line 1,
col 142)
Root cause: org.xmlpull.v1.XmlPullParserException: processing instruction
can not have PITarget with reserveld xml name (position: START_TAG seen ..
<SOAP:Body><?xml ... @1:142)
    at org.jibx.soap.SOAPContext.getReceivePayload(SOAPContext.java:302)
    at org.jibx.soap.SOAPContext.unmarshalSOAP(SOAPContext.java:241)
    at org.jibx.soap.client.SOAPClient.call(SOAPClient.java:162)
    at
com.pancredit.webservices.test.WebServiceTest.testLoginApplication(WebServic
eTest.java:74)
   ... 26 more

My transaction is called with two strings, and returns a Date and two
strings back again.  The transaction is called successfully, this problem
occurs somewhere between the transaction finishing on the server and the
control returning to my client app.

Thanks,

Tim.



-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
jibx-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jibx-users

Reply via email to