cancel
Showing results for 
Search instead for 
Did you mean: 

Synchronous BPM start

Former Member
0 Kudos

Hello,

I would like to create a BPM, started by a synchronous

Web service call. The BPM should call a JDBC Adapter

(also synchronous) and return the information to the

web service.

Everything is synchronous in this example, but I could

only create container which point to a asynchronous

interface. Why? How can I do this process?

In https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1403"; [original link is broken] [original link is broken] [original link is broken]>this [original link is broken] [original link is broken] webblog he also starts with a synchronous, but set it to s/a-bridge. Why??!

thx

chris

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Christian,

As Michal Suggested you dont need a BPM, for what you are actually trying. Just incase you wanna go ahead with BPM, you need to use a Sync - Async Bridge.

If you wanna know more about Sync - Async Bridge, go through my reply in the below forum thread.

Regards,

Abhy

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

A container can basically contain only one type of message.

A message that a container can store, is represented by a interface. And since it can hold only one kind of message, the interface has to be asynchronous.

However, we would have to specify abstract sync interfaces, when we are carrying out a sync send i the bpm.

Regards,

Smitha.

Former Member
0 Kudos

A BPM is necessary, because we have to create

an error handling. so I need to create a BPM

and test if a connection could be establish

or if a message is filled. Or is there another

kind to handle errors than with a BPM?

@Smitha Rao

That is an interessting fact. A sync Interface has

a request an a response message, and so the container

had to handle two types of messages. And that he couldn't

do, right?

thanks

chris

bhavesh_kantilal
Active Contributor
0 Kudos

Chris,

If you are conviced that you need a Webservice -- JDBC with a BPM, then you will need a Synch- Asynch Bridge.

Reason :

BPM receives a Synch Request Message from webservice. Then, using a Send Synchronous Step, you are making a Synchronous Call to the JDBC. The response you will need to send back to the Webservice and to do this, you will again have another Send Step .

Now, how will you ensure that the Response is sent back to the same synchronous call? Using a Synch - Asynch Bridge, you will link the Receive Step of the BPM and the final Send Step of the BPM.

Regards,

Bhavesh

Former Member
0 Kudos

Yes.you got it right.

Regards,

Smitha.

moorthy
Active Contributor
0 Kudos

Hi,

What type of error handling you are going to do ? Is it just kind of alerts , then you can think of without BPM. Else, you can use BPM.

Now, if you are using BPM for 2 Synch communication, then you need to open Sync/Async Bridge.

So you will recieve Sync message in BPM and then you cen send Sync Req to Reciever. So this reciever give the response back to BPM , this Response is mapped directly to Response of the Sender and then it has been sent to sender by closing Sync/Async Bridge.

to know more on this-Sync-Async-

http://help.sap.com/saphelp_nw2004s/helpdata/en/83/d2a84028c9e469e10000000a1550b0/content.htm

Regards,

Moorthy

Former Member
0 Kudos

Thanks all for help.

Is a JDBC call synchronous or asynchronous? Means,

which step do I have to use in BPM for this?

@Moorthy

The link you send me uses a synchronous sending step

at the end of the BPM. Why do I have to use a

synchronous step here? I don't want to receive

a response in the BPM. Other examples (like the blog

I linked above) uses a asynchronous sending step

at the end.

@all

Is is only possible to select interfaces within a BPM

from the same namespace? I couldn't select interfaces

from outher namespace.

regards

chris

Message was edited by: Christian Riekenberg

bhavesh_kantilal
Active Contributor
0 Kudos

Hi,

A JDBC call using Receiver JDBC adapter can be synch or Asynch.

If you need to select data from a DB, then the call is a Synch call. Take a look at my blog for this,

/people/bhavesh.kantilal/blog/2006/07/03/jdbc-receiver-adapter--synchronous-select-150-step-by-step

Regards,

bhavesh

Former Member
0 Kudos

Hi ,

<i>Is a JDBC call synchronous or asynchronous</i>

It can be synch or asynch depends on the requirement.

If you want to select the data from the Data base then you have to make a synchronous call..

<i>I couldn't select interfaces

from outher namespace.</i>

Yes...you can select only interfaces which belongs to the same namespace of BPM. You can select the interface which is having message type of different namespace also.

sekhar

MichalKrawczyk
Active Contributor
0 Kudos

hi,

why do you need a BPM in this case?

it's a standard sync - sync communication

where not BPM is necessary

Regards,

michal