cancel
Showing results for 
Search instead for 
Did you mean: 

How to get response of an Async Service in XI

Former Member
0 Kudos

Hi all,

I have a scenario where i am invoking an async webservice. I need to get the response of the webservice in the R/3 through XI. Can any body please suggest how to do that?

Just to share more info, The web service writes its response into a particular port. So if i need to listen to that port, how can i do that?

Thanks and best regards,

Kulwant Singh

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

You could use the adapter moduels to generate the dummy response.

The adapter moduels AF_Modules/NotifyResponseBean & AF_Modules/waitResponseBean

You need to create the Sync to Async brodge between R/3 to Web Service.

Either you could use the adapter module to give the acknowledgment or the BPM.

/people/sriram.vasudevan3/blog/2005/01/11/demonstrating-use-of-synchronous-asynchronous-bridge-to-integrate-synchronous-and-asynchronous-systems-using-ccbpm-in-sap-xi - Use of Synch - Asynch bridge in ccBPM

https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1403 [original link is broken] [original link is broken] [original link is broken] - Use of Synch - Asynch bridge in ccBPM

Thanks

Swarup

prateek
Active Contributor
0 Kudos

What is ur initial sender? If it is R3 then use RFC or abap proxy and then u can simply configure sync scenario

Regards,

Prateek

Former Member
0 Kudos

Hello Prateek,

Thanks for the information.

Do you mean that i need to generate the proxy and write the relevant code to read the port continiously?

If yes, then can you suggest how to read the port?

If no, can you elaborate more?

Thanks and best regards,

Kulwant

Former Member
0 Kudos

Hi, On R/3 side you need to use Proxy or RFC/ BAPI.

For Proxy configuration refer

ABAP Proxy Runtime

http://help.sap.com/saphelp_nw04s/helpdata/en/02/265c3cf311070ae10000000a114084/frameset.htm

Setting Up Point-to-Point Connections with proxy

http://help.sap.com/saphelp_nw04s/helpdata/en/85/78af1bf407434796aaf8dbd6d4e7b7/frameset.htm

Reliable Messaging – EOIO in ABAP Proxies

/people/arulraja.ma/blog/2006/08/18/xi-reliable-messaging-150-eoio-in-abap-proxies

/people/stefan.grube/blog/2006/07/28/xi-debug-your-inbound-abap-proxy-implementation

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3dfac358-0d01-0010-5598-d4900e81...

RFC/BAPI Communication

http://help.sap.com/saphelp_nw04/helpdata/en/67/6d0540ba5ee569e10000000a155106/content.htm

Configuring the Sender RFC Adapter - step by step

/people/michal.krawczyk2/blog/2005/03/29/configuring-the-sender-rfc-adapter--step-by-step

sap to webservice

/people/siva.maranani/blog/2005/05/23/communication-between-sap-system-webservice-using-proxies

Thanks

Swarup

prateek
Active Contributor
0 Kudos

Do you mean that i need to generate the proxy and write the relevant code to read the port continiously?

No

The port related coding need not be done at proxy. Proxy code will send data to XI. XI forwards it to the webservice. The response is usually received by XI without any specific config. Can u explain a bit about what type of port u r talking about.

Regards,

Prateek