cancel
Showing results for 
Search instead for 
Did you mean: 

Payload inside the ENVELOP is required.

Former Member
0 Kudos

Hi All

We have executing RFC -Soap scenerio data is sending to TIBCO system . As per Business requirement they are asking payload with ENVELOP . Like below message

================================================================

soapenv:*Envelope* xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:chec="http://xmlns.cpw.co.uk/CPW/Gateway/Order/CheckServiceAvailability">

<soapenv:Header />

- <soapenv:Body>

- <chec:RouteCheckServiceAvailabilityRequest>

- <chec:AvailabilityRequest>

Optional:

<chec:cli>01416361468</chec:cli>

- <!--

Optional:

-->

<chec:postcode>G42 0BT</chec:postcode>

- <!--

Optional:

-->

<chec:sourceId>MCCP</chec:sourceId>

<chec:companyId>BBE</chec:companyId>

<chec:countryCode>GBR</chec:countryCode>

</chec:AvailabilityRequest>

</chec:RouteCheckServiceAvailabilityRequest>

</soapenv:Body>

</soapenv:Envelope>

=============================

But we are getting message like below in SXMB_MONI

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

- <ns1:RouteCheckServiceAvailabilityRequest xmlns:ns1="http://xmlns.cpw.co.uk/CPW/Gateway/Order/CheckServiceAvailability">

- <ns1:AvailabilityRequest>

<ns1:cli>02075370442</ns1:cli>

<ns1:postcode>AB12AB</ns1:postcode>

<ns1:salesChannel>RETAIL BRANCHES</ns1:salesChannel>

<ns1:sourceId>SAP</ns1:sourceId>

<ns1:companyId>BBE</ns1:companyId>

<ns1:countryCode>GBR</ns1:countryCode>

</ns1:AvailabilityRequest>

</ns1:RouteCheckServiceAvailabilityRequest>

===================

Can you someone help me out in thsi.

Thank you

Ravi

Accepted Solutions (0)

Answers (3)

Answers (3)

santhosh_kumarv
Active Contributor
0 Kudos

>>As per Business requirement they are asking payload with ENVELOP .

1. Use option "Do Not Use SOAP Envelope". Bu doing this SOAP adapter will not generate the SOAP envelope.

2. Write XSLT/Java Mapping to populate the SOAP envelope as you require and send this over SOAP channel.

~SaNv...

ravi_raman2
Active Contributor
0 Kudos

Ravinder,

If envelope is required, Sending as a SOAP message adds this, by default.

Regards

Ravi Raman

Former Member
0 Kudos

Hi Santosh,

I have the same requirment now. Can you send me accross the XSLT code for this.

Thanks in Advance.

Best Regards,

Joseph

Former Member
0 Kudos

Hi Ravinder,

In SOAP channel, in Conversion Parameters, there is one option of 'Do Not Use SOAP Envelope'.

Try using that, it should work.

Refer the following blog, it will help:

/people/william.li/blog/2009/07/30/how-to-read-soap-header-information

-Tanaya

Former Member
0 Kudos

What kind of adapter are you using : SOAP or plain HTTP ? Isn't the "Remove SOAP enveloppe" activated for your SOAP adapter ?

Rgds

Chris

Former Member
0 Kudos

Hi

We are useing Receiver SOAP ADAPTER / Sender RFC .

In SOAP Adapter

Transport Protocol : HTTP

Message Protocol : SOAP 1.1

Adapter Engine : integration Server :