cancel
Showing results for 
Search instead for 
Did you mean: 

SOAP structure problem

Former Member
0 Kudos

Hi Folks;

Please help me in this.

I am using a receiver soap adapter to consume a webservice.

What is required by the webservice as an input is a soap message having soap body with the parameters which we are passing through XI inside the SOAP envelop.

<SOAP-ENV:>

<SOAP-ENV:Body>

<xml data>

</SOAP-ENV:Body>

</SOAP-ENV:Envelope>

but what XI is passing payload after cloasing the soap envelop.

<SOAP-ENV:>

<SOAP-ENV:Body>

</SOAP-ENV:Body>

</SOAP-ENV:Envelope>

<xml data>

Is there a way by which we could make XI pass the xml data within the SOAP tags?

Mudit

Accepted Solutions (0)

Answers (4)

Answers (4)

bhavesh_kantilal
Active Contributor
0 Kudos

Mudit,

Where are you seeing the entire SOAP payload?

I have seen my payloads in MDT and have never faced such an issue.

The XML payload is always withing the SOAP BODY inside the SOAP Envelope.

Would suggest you take a relook at the payload in MDT and also, can you let us know the setting you have done in your SOAP adapter?

Regards,

Bhavesh

Former Member
0 Kudos

Hi ;

Thanx for your replies.

I am reffering to the J2EE MessagingSystem/monitor/monitor.jsp for the soap message. In the received messages --Details --Display Bytes i am getting in the SOAP message send by XI.

Getting in a format like

<SOAP:Envelope xmlns:SOAP=....

<SOAP:Header xmlns:xlink...

</SOAP:Header>

<SOAP:Body>

</SOAP:Body>

</SOAP:Envelope>

and after this whole message

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

...........

............

i have not checked on any Conversion Parameters check box in the Soap adapter

Mudit

bhavesh_kantilal
Active Contributor
0 Kudos

Mudit,

That is rather strange. What is the error you are getting when making the webservice call?

Is the output of the mapping / response a valid XML?

Regards,

Bhavesh

Former Member
0 Kudos

hi;

The webservice is not able to process the request because of the message format

and it is rejecting the request.

Mudit

stefan_grube
Active Contributor
0 Kudos

Hi Mudit,

In the message monitor you cannot see the message in the format as the SOAP adapter sends it.

Be sure that the SOAP adapter creates a valid SOAP format.

Regards

Stefan

Former Member
0 Kudos

Hi Mudit,

XI is sending message to external SOAP application, right?

In this case, by default XI wraps the payload with XI specific SOAP envelope.

If you want to generate a different format of SOAP envelope then you can check "Do Not Use SOAP Envelope" in receiver comm channel and manually prepare the envelope in mapping or something like that.

Regards,

Venu

Former Member
0 Kudos

Hi Mudit,

Please check the code that you have written at the client from which you are passing the SOAP message to XI.

That is where you should be handling this.

Regards,

Abhy

Former Member
0 Kudos

There should be a guide in SDN, how to handle SOAP adapter, please go through that. I think that should help you.

When u select SOAP adapter, there are some check boxes which I dont remember exactly. Just look into the guide also into SAP help of SOAP adapter.