on 03-05-2010 7:42 PM
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 ?
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.