cancel
Showing results for 
Search instead for 
Did you mean: 

Question regarding calling a request-response webservice - in BPM

Former Member
0 Kudos

Hi

We have a scenario in cc bpm as follows :

1. Receive Async message from sender ( first receive step in cc bpm )

2. Do a lookup against a database and enhance source message ( received from the first step ) to a new target message ( based on results of the lookup - resulting in additional fields )

3. Write a file to a folder - async - send step

4. Call a webservice - syncrhronously , receive response .

5. Call a second webservice - asyncrhonously sending response results from step 4.

Question - is how do I do a lookup - step 2( synchronous ) from within a CC BPM in the above scenario . Similarly, how do I implement step 4 - i.e synchronous webservice call and proceed to the next asynchronous step ?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Karthik,

If you want to do synchronous call to a database or rfc you can see this weblogs. It should be pretty straight forward.

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

/people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit

Receive --> Transform1 --> Send1 --> Synchronous Send2 --> Transform2 --> Send3.

Here Transform1 --> receive message and do messag mapping for lookup and get the extended source message.

Send1 --> sends the extended source message to a file

Synchronous Send2 --> GIve the extended source message as input and do request response message to webservice. (See the above blog)

Transform2 --> Do the mapping from webservice1 response to the second webservice2.

Send3 --> Send the new message to webservic2 asyncronouly.

Regards,

---Satish

Answers (1)

Answers (1)

prateek
Active Contributor
0 Kudos

how do I do a lookup

You have 2 ways. First is to use a sync send step to database. Other is to use Transform step and perform lookup in mapping.

synchronous webservice call and proceed to the next asynchronous step ?

If you have webservice sync send step and next asyn sent step placed in a sequence in BPM, then async send step will be processed only once the sync send response is received. Avoid using transform message as much as possible. Mapping could be made while execution leaves BPM.

Regards,

Prateek

Former Member
0 Kudos

Prateek and Raj - thanks for your tips and answers. Points awarded.