cancel
Showing results for 
Search instead for 
Did you mean: 

Synchronous SOAP based interface configuration

Former Member
0 Kudos

Hello experts,

I am configuring a web service based interface for the first time. The scenario is as described below:

1) Pick a file up from a file share directory - File format M1

2) Do a message mapping on M1 to obtain web service request message M2

3) Send the request M2 to obtain the web service response M3

4) Map M3 to target message M4

For this, I have 2 synchronous service interfaces -

1) S1 where request is M1 and response is M4

2) S2 where request is M2 and response is M3

I have 2 comm channels

1) File sender channel

2) SOAP receiver channel

I have set up the above configuration and triggered the interface. The issue is I cant receive response from the web service and there are no errors either.

I am not sure if my configuration is what needs to be done to achieve the above requirement. Can you please advice on the same and let me know if any further inputs are required.

Attaching the screenshot of SOAP receiver channel log.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello,

Sorry guys. Still no luck. Are there any adapter modules I should add to the sender file channel or the soap receiver channel?

Thanks,

Rajith

nabendu_sen
Active Contributor
0 Kudos

Hi Rajith,

Quality of Service depends upon the Sender Side Adapter. Now you have File as Sender which is by default Asynchronous and you need to enhance it to achieve Synchronous functionality.

You need to use below modules in Sender File adapter:

Number - ModuleName - Type - ModuleKey
1- AF_Modules/RequestResponseBean - Local Enterprise Bean - 1
2- CallSapAdapter-Local Enterprise Bean - 2
3-AF_Modules/ResponseOnewayBean-3

Parameters

ModuleKey - ParameterName - ParameterValue
1 - passThrough - true
3-receiverChannel - Receiver File Adapter Name
3-receiverService - Receiver Business Service/ System

Please check the below blog for more information:

http://wiki.sdn.sap.com/wiki/display/XI/Using+Request+Response+Bean+Module+in+FILE+Adapter


Former Member
0 Kudos

Hello Nabendu,

I was just about to update this thread and close it. I did stumble upon the above detail on some blog earlier today and it has indeed sorted out the issue.

Thanks for the input though!

Cheers,

Rajith

Answers (2)

Answers (2)

gagandeep_batra
Active Contributor
0 Kudos

Hi Rajith,

check the following wiki that may help you while creating the sync scenario with file.

http://wiki.sdn.sap.com/wiki/display/HOME/Using+Request+Response+Bean+Module+in+FILE+Adapter

Regards

Gagan

Former Member
0 Kudos

Hi Rajith,

First check that your webservice is responding or not .

Go to WSNAVIGATOR and test your webservice is responding or not and in which format the response is..?

thanks and regards,

Anup Banerjee

Former Member
0 Kudos

Hello Anup,

Thanks for the reply.

The web service is from an external provider. I checked the same using SOAP UI and seems to be working fine. I can see a valid response message coming through.

Also wont there be an error if the response is invalid or the target web service is broken?

Cheers,

Rajith