cancel
Showing results for 
Search instead for 
Did you mean: 

Problem in mapping while using Do not Use SOAP Envelope

Former Member
0 Kudos

Hi All,

This is wrt my thread ''

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

Accepted Solutions (0)

Answers (1)

Answers (1)

JoelTrinidade
Active Contributor
0 Kudos

Hi Subhendu.

There is an old saying that don't continue bending a thing till it breaks. You have bent the xml to an extent wherein which it no more complies with the needed structure for graphical mapping . i am sorry you would need to have a workaround or re design

Regards

joel.

Former Member
0 Kudos

Hi Joel,

I only have used the option 'Do not use SOAp Envelope', no bending from my end

Regards,

Subhendu

JoelTrinidade
Active Contributor
0 Kudos

But as the root node , ie 'ns0' is not there, the value from child nodes are not getting mapped to the target fields.

If this is not bending and breaking then what is.

Former Member
0 Kudos

Hi Joel,

SAP says, when we use the option 'DO Not Use SOAP Envelope', the payload also contains the SOAP

Envelope. So it is obvious that the payload wont start with 'ns0' notation.

So I am searching for a solution, when we use that option.

Regards,

Subhendu

former_member181962
Active Contributor
0 Kudos

Have you set "nosoap = true" in your WSDL URL?

Regards,

Ravi

Former Member
0 Kudos

Yes Ravi, I ve done that.

My problem is about mapping the payload to the target structure.

Regards,

Subhendu