cancel
Showing results for 
Search instead for 
Did you mean: 

SOAP to Proxy synchronous scenario

Former Member
0 Kudos

Hi,

Hope you are all doing well.

I have a SOAP to Proxy synchronous scenario. As part of this scenario, the data structure of the response sent by SAP is different from the response sent back to the SOAP requester. Hence I have used request message mapping between the SOAP request sent by requester and the one passed on to SAP and response message mapping between the response sent by SAP and the one passed on to the requester. Both the message mappings are incorporated in a single Interface mapping.

The problem is that the interface is behaving like a asynchronous one, i.e., request is passing over to SAP but though the proxy is giving a response back, the same is not coming over to XI.

It would be really helpful if you can let me know what might have gone wrong.

regards

Debansu

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Thanks.

My problem is solved.

Former Member
0 Kudos

Hi Sarkar,

once you check the following bellow steps :

step 1: Service interface.

Serveice Interface Oubound

MT_SoapRequest,

MT_SoapRespone.

Service Interface Inbound

MT_SapRequest,

MT_SapRespone.

step 2: Operation Mapping

Request Message mapping : MT_SoapRequest to MT_SapRequest

ResponseMessage mapping: MT_SapRespone to MT_SoapRespone

step3:

Sender Webservice Communication channel Qos is BE(Best Effort)

thanks,

Former Member
0 Kudos

Hi ,

What is understand is , SOAP is on your receiver side .

So I would suggest you check the Quality of Service on Receiver SOAP Channel . It should be Best Efferts.

Regards

Prabhat Sharma.

baskar_gopalakrishnan2
Active Contributor
0 Kudos

You need to have two mappings.

1) SOAP request to Proxy request and 2) Proxy Response to SOAP response.

I believe you created Service interfaces both sender and receiver synchronous mode. Use operation mapping and pick sender interface(soap) as source and receiver (proxy) interface as target. Pick first mapping for request and second mapping for response.

Note: Are you using Proxy Response as Source and SOAP response as target in the second message mapping. Also make sure you have included request and response message types accordingly in the sender and receiver interfaces.

Former Member
0 Kudos

Bhaskar,

Thanks for the reply.

I have done exactly the way you have mentioned. Still the problem remains.

I would just like to mention that the message interfaces have been defined as follows:

Outbound Synchronous message interface - Output message is SOAP request message from requester

Input message is response message to requester

Inbound Synchronous message interface - Input message is request message to SAP

Output message is response message from SAP

Is that okay or do I neeed to change it?

The mapping is as follows:

Request mapping - SOAP request to SAP request

Response message - SAP Response to SOAP response

regards

Debansu

Former Member
0 Kudos

Hi,

you should have that:

1. Two Message Mapping:

1.1. a Message Mapping for request (called MM_request) , from MT_SOAP_request to MT_Proxy_request.

1.2. a Message Mapping for response (called MM_response) , from MT_Proxy_response to MT_SOAP_response.

2. One Operation Mapping (in PI 7.1) or Interface Mapping (in PI 7.0) from SI_SOAP to SI_ Proxy with:

2.1 in the tab "request", so from MT_SOAP_request to MT_Proxy_request , give your Message Mapping "MM_request".

2.2 in tab "response" , so from MT_Proxy_response to MT_SOAP_response, give your Message Mapping "MM_response".

3. In you Directory, you define a flow like that:

from SI_SOAP to SI_ Proxy by using your Operation Mapping.

If I missed nothing, that's all.

MT = Message Type

MM = Message Mapping

SI =Service Interface in PI 7.1 or Message Interface in PI 7.0.

regards.

Mickael

Edited by: Mickael Huchet on Oct 19, 2011 4:07 PM

Former Member
0 Kudos

Mickael,

Thanks for the reply.

I have defined the mappings the way you have mentioned. Please let me know how the Service Interfaces/Message interfaces need to be designed.

Apart from this, please let me know if there is any other area where I need to look.

Please let me know

regards

Debansu

Former Member
0 Kudos

Hi,

Service Interface would be of Outbound or Inbound Type , But with Synchronus Type....

Service Interface_A

Assign message type accordingly .

ServiceInterface_B

Assign message type accordingly .

Regards

Prabhat Sharma.

Former Member
0 Kudos

Prabhat,

Thanks for the reply.

I have defined the service interfaces as Inbound/Outbound and synchronous. Please let me know how I should assign the input and output message types to the service interfaces.

I have defined following 4 message types:

MT_Request_SOAP

MT_Request_SAP

MT_Response_SAP

MT_Response_SOAP

regards

Debansu

Former Member
0 Kudos

Hi,

Serveice Interface Oubound - MT_Request_SOAP,MT_Response_SOAP

Service Interface Inbound - MT_Request_SAP,MT_Response_SAP

Maintain the same order of message types.

Request Message mapping between - MT_Request_SOAP and MT_Request_SAP

ResponseMessage mapping between - MT_Response_SAP and MT_Response_SOAP.

Regards,

Sunitha

Former Member
0 Kudos

Hi Debansu,

Have a look on this doc, as it's approximatively your synchronous need.

[u201CWeb Service u2013> PI u2013> Web Serviceu201D Scenario - A Complete Walkthrough|http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/20013414-b7a9-2b10-8fa1-fc7e5ec02659]

Regards;

Mickael