Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Problem in mapping while using Do not Use SOAP Envelope

Hi All,

This is wrt my thread 'Removing and adding SOAP Envelope'

I am currently working on SOAP-XI-Proxy Scenario.

For some un avoiadable reason, I had to use the option 'DO not use SOAP Envelope' .So the SOAP Envelope came withen the payload and in the pipeline, I can see the payload prefixed by '<?xml version="1.0" ?>' .

Now my payload looks like

<?xml version="1.0" ?> ( no more the encoding="utf-8" notation is there)

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

xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

<soapenv:Body>

<Complaint_Request xmlns="urn:******createserviceticket">

<CaseNo>12345</CaseNo>

<CustomerNo>12345</CustomerNo>

..........

</Complaint_Request>

</soapenv:Body>

</soapenv:Envelope>

To accomodate the change, I also changed my request structure as

<Complaint_Request> (My new message Type)

<Envelope>

<Body>

<Complaint_Request> (My previous message Type)

<caseNo>

<CustomerNo>

......

But I am facing problem in mapping the values to the target structure (which is a flat structure),

as the payload doesnot start with ' ns1: ' notation any more . Even XSLT mapping is not working.

When I am pasting the payload in the Testing Mapping Editor, the Source Node are correctly

formed, but all come in RED . But as the root node , ie 'ns0' is not there, the value

from child nodes are not getting mapped to the target fields.

Regards,

Subhendu

Former Member
Not what you were looking for? View more on this topic or Ask a question