Skip to Content
0
Former Member
Feb 13, 2009 at 07:03 PM

AXIS receiver adapter removing element from soap request

196 Views

Hi,

I've configured axis receiver adapter in PI 7.1.

When the request is sent, event though my mapping keeps the whole request intact, PI removes the first tag after the body. Here is the data that is sent to the ws provider.

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

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>

<HEADER>

<a>a</a>

</HEADER>

<b>

<b1>b1</b1>

</b>

</soapenv:Body>

</soapenv:Envelope>

The following tag has been removed : <ns1:methodtocall xmlns:ns1="urn:THESCHEMA">

It should be

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

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>

<ns1:methodtocall xmlns:ns1="urn:THESCHEMA">

<HEADER>

<a>a</a>

</HEADER>

<b>

<b1>b1</b1>

</b>

</soapenv:Body>

</ns1:methodtocall>

</soapenv:Envelope>

The settings I put are :

No Headers

No Attachments

Payload extraction = SOAP Body

Am I missing something... why is this happening.

If I set it to Payload extraction = SOAP body child... the tag is sent correctly. Unfortunately I don't want to use that option.

Thanks.