cancel
Showing results for 
Search instead for 
Did you mean: 

soap lookup error

Former Member
0 Kudos

Hi,

I am trying to use the SOAP lookup within an UDF. The example in Bhavesh blog worked great and when I plug in my web service lookup I have run into all sorts of issues.

My response message from the webservice looks like this:

<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">

<env:Header/>

<env:Body>

<GetMappedToValueByIDOutput xmlns:ns1="http://www.abc.com/mappedvalue/output" xmlns=" http://www.abc.com/mappedvalue/output ">

<ns1:OutputData>

<ns1:MapValue>This is the mapping lookup result </ns1:MapValue>

<ns1:MapID/>

</ns1:OutputData>

</GetMappedToValueByIDOutput>

</env:Body>

</env:Envelope>

But I am getting the following error after I plug in the UDF into the message mapping and testing with the integration mapping.

"

Parsing Error: org.xml.sax.SAXParseException: The markup in the document preceding the root element must be well-formed.'. Cause Exception: 'java.io.IOException: Parsing Error: org.xml.sax.SAXParseException: The markup in the document preceding the root element must be well-formed.'.

Anything that I am missing here?

Teresa

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Teresa,

Is the WSDL or XSD schema available for this SOAP message ? It would help us finding where the error is (malformed XML structure or payload etc) ...

Or is the error occuring when performing mapping to the target msg (and not the lookup itself) ? How do you process the UDF response lookup in the msg mapping ?

Chris

Edited by: Christophe PFERTZEL on Nov 12, 2009 12:46 PM

Former Member
0 Kudos

Any suggestions..

Teresa