Skip to Content
0
Former Member
Nov 30, 2006 at 03:26 PM

Web Service providing interesting payload which runs on error in mapping

25 Views

Hello,

we are receiving a request from a web service (SOAP sender adapter).

The message is put into pipeline and running on error during mapping.

This is how payload looks like:

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>

- <!--

Mapping of Request-Message

-->

http://xxx.com/xi/global" xmlns:SOAP-ENV=" http://schemas.xmlsoap.org/soap/envelope/" xmlns:s=" http://www.w3.org/2001/XMLSchema" xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance">

<content of message....>

What I would expect is more like this (as generated from the test tool):

<?xml version="1.0" encoding="UTF-8" ?>

http://xxx.com/xi/global">

<content of message....>

Error message in trace:

Cannot produce target element /ns0:GetMRPResult/numCandidateMatches. Check xml instance is valid for source xsd and target-field mapping fulfills requirements of target xsd at ....

<numCandidateMatches>2</numCandidateMatches> is the first element afther this header information.

What can we do to work with this incoming payload with this header area.

Or how can we move it to that what we expect...

Best regards

Dirk

Message was edited by:

Dirk Meinhard