cancel
Showing results for 
Search instead for 
Did you mean: 

How to realize a Sync-Asyn Bridge

Shabarish_Nair
Active Contributor
0 Kudos

Hey Folks,

I was trying to 'decode' whatever is written in the How to guide (Realize a sync - async and async - sync bridge in the adapter framework). Thanks to Bhavesh he posted the thread on the Async - Sync part and so i thought i would figure out the Sync - Async part.

Ok so here is what i have done till now (with no success);

its a HTTP <-> XI <-> File

So;

2 DT/MT for HTTP, 2 DT/MT for file

1 MI outbound sync -> http

1 MI inbound sync -> File

the 2 mappings and the 1 IM

In configuration;

1 rec. file adapter and 1 sender file adapter

the configuration is as usual for a sync scenario; except for the sender agreement for the sender file adapter, i configure a dummy sender agreement with dummy interface and dummy namespace but the original CC created.

In the Recv. file channel module part;

1 AF_Modules/RequestOnewayBean Local Enterprise Bean 2

2 CallSapAdapter Local Enterprise Bean 0

3 AF_Modules/WaitResponseBean Local Enterprise Bean 1

2 passThrough true

in the sender file channel;

1 AF_Modules/NotifyResponseBean Local Enterprise Bean 1

So any of you guys who did something on that document, i hope can throw some light

Cos i am sure i am missing something here !!!

~~ShaBZ

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

HI,

As such i did not work on the same scenario. But worked on a similar scenario with JMS. Refer to this blog by venkat.

We have to correlate both the messages, then only it will work.

/people/venkataramanan.parameswaran/blog/2007/01/18/syncasync-communication-in-jms-adapter-without-bpm-sp19

Regards,

Sudheer

Message was edited by:

Sudheer

Shabarish_Nair
Active Contributor
0 Kudos

Hi Sudheer,

the blog is a jist of the help and how to giude but then in case the blog had layed out the configuration details it would have found a greater appeal !!

Bhavesh,

i am thinkin over the correlation too.

the giude doesn focus on the settings on the sender (sync) CC. but since we have a http here i was wondering how it would react.

Lemme see wht can be done at my side ... hope in case u sort things out, u do update me

bhavesh_kantilal
Active Contributor
0 Kudos

Shabz,

Maybe we need a correlation Id in the 2 files? Have you tried using some Correaltion.

have not tried this, let me also give it a shot from my end and see how it goes.

Regards

Bhavesh

Former Member
0 Kudos

HI,

Are you using BPM or not??

Can you plz tell me the SP number/version.

I hope Sync - Asyn without BPM is possible with latest SP.

Please see the below links

/people/community.user/blog/2006/12/12/http-to-rfc--a-starter-kit

With 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

https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1403 [original link is broken] [original link is broken] [original link is broken] [original link is broken]

Regards

Chilla..