cancel
Showing results for 
Search instead for 
Did you mean: 

sync Proxy to SOAP Scenario

manikandan_shanmugam3
Active Participant
0 Kudos

HI All,

Scenario: Sync Proxy to SOAP Scenario.

just wanted to know below

1) is it possible to Test the sync Scenario using SOAP UI or any other tools when SOAP is target?

2)Is it possible to Trigger a Proxy Message  from ABAP system and Get the response back to ABAP when only proxy setting are done with out any coding in the ABAP? (Jus wanted to test whether scenario is working fine)

Regards,

Mani

Accepted Solutions (0)

Answers (3)

Answers (3)

Bhavani_Baisani
Participant
0 Kudos

In a synch scenario, you only need to configure it like it is an asynch scenario. The only exception is that the service interfaces are synchronous. Each synch service interface requires at least two messages (request and response), fault message is optional. So for your scenario, at least four messages are required

  1. 1.) 1st message (Outbound request) -> Proxy message type request that will be entering PI
  2. 2.) 2nd message (Inbound request) -> Soap request message type going to the webservice
  3. 3.) 3rd message (Inbound response) -> Soap response message type from webservice going to PI
  4. 4.) 4th message (Outbound response) -> contains the message type that has the values that you want

So the flow could be like this (fault messages not shown)

Outbound SI (1) -> PI -> Inbound SI (2)     (4) <- PI <-            (3)

Since you use abap proxy as client you dont need sender agreeement and sender communication channel. You need the receiver soap communication channel and receiver agreement.

ID objects configuration

1 Rec Determination,  1 Interface Determination, 1rec comm channel and 1receiver agreement.

Map proxy request to soap request  first mapping

Map soap response to proxy respones second mapping

Operation mapping use outbound interface (proxy) on the source side and inbound interface (soap) on the target side. That's it. You will see both request and response mapping together.

manikandan_shanmugam3
Active Participant
0 Kudos

HI Bhavani,

Thanks for your explanation and it was very nice but my question was how SOAP UI will return Response message as there will be no code written for background process and how to creaet a Sync Scenario project in SOAP UI Side so that it will get a Req and wil return response and what is the URL that i need to configure in PI?

Regards,

Mani

markangelo_dihiansan
Active Contributor
0 Kudos

Hello,


2)Is it possible to Trigger a Proxy Message  from ABAP system and Get the response back to ABAP when only proxy setting are done with out any coding in the ABAP? (Jus wanted to test whether scenario is working fine)

Yes, but this will only be limited to your screen (same as when testing from RWB). The data returned to the ABAP proxy gets discarded once you exit. Testing can be done by Sproxy -> look for your SC -> SCV -> Service Interface -> Service Interface name (double-click) -> press f8 -> look for method name (if applicable) and then press f8 -> then edit the XML (ctrl+f2) and then press f8 again.

If the end-to-end connection is properly configured, you should be able to get a response.

Hope this helps,

Mark

gagandeep_batra
Active Contributor
0 Kudos

Mark,

Thanks for sharing...

gagandeep_batra
Active Contributor
0 Kudos

Hi Manikandan,

1) is it possible to Test the sync Scenario using SOAP UI or any other tools when SOAP is target?

Yes

2)Is it possible to Trigger a Proxy Message  from ABAP system and Get the response back to ABAP when only proxy setting are done with out any coding in the ABAP? (Jus wanted to test whether scenario is working fine)


According to my knowledge NO. you have to atleast right a program to trigger it.

for testing you can send message from RWB

Regards

Gagan

manikandan_shanmugam3
Active Participant
0 Kudos

HI Gagan,

Can you pls explain how to achieve above point 1? as i have never used SOAP UI.

Regards,

Mani