on 08-11-2011 2:32 PM
Help needed please...
My scenario is:
1. We have to send some data from ERP to a thridparty synchronous webservice. The webservice adds some more data to the message and gives a response message.
2. We have to take that response message and send it to another thirdparty synchronous webservice. This webservice changes some fields, adds some extra fields and gives us the message as a response message.
3. We have to send that message as a file to a file system. Also, we have to send a copy of the message back to ERP.
Now my questions are:
a. How to implement this?
b. I am thinking to do all synchronous messages. Can I use the response from the webservice as a seperate asynchronous message in a seperate Message Interface? If so what will happen to the Output message which I define in the Inbound/Synchronous Message Interface for the Webservice?
c. As each step is depended on the previous message, should everything be designed as single interface?
Many thanks for your help.
This can be implemented using BPM by making the complete thing as one scenario
BPM design could be like this
receive step........>>>>> send ( synchronous )first >>>> send sync second ) >>>> Send ( Async ) file system >>>>> send ( async ) ERP system
1 -- receive step has one abstract interface ( asynchronous)
2 send step has one abstrac interface ( synchronous ) this is for system 1
3 second send step has another abstract interface ( synchronous)
dpending upon the type of message you can keep the resonse message type as same or differnt
4. finally for the file and the ERP system there has to be each one asynchronous interface
looks complicated ... take help of fello SDNERS
thanks
Ninad
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Many thanks for all the replies.
Veeranjaneyulu and Ninad,
I have created the scenario as below, but getting error. Please correct me if my design is incorrect.
For the first webservice, I Created:
1. Out/Async MI for RFC
2. ABS/Async for BPM
3. ABS/Sync for BPM
4. In/Sync for Webservice
For second webservice,
5. ABS/Sync for BPM
6. In/Sync for second webservice
7. ABS/Asyn for BPM to send a copy to ERP
8. In/Asyn for ERP
9. ABS/Asyn for BPM for file system
10. In/Asyn for file system.
In BPM, I designed the following steps:
Start - Receive1 - Send1 (For 1st W/S) - Send2 (for 2nd W/S) - Send3 (for ERP) - Send4 (For file system) - Stop
The container elements I created are:
1. Request1 / Abstract / Interface no.2 (above)
2. Response1 / Abstract / Interface no.2
Looks like I did something wrong somewhere. When trying to activate the BPM, I am getting error as " the message to be sent Response1 and synchronous interface no.5 are not of the same type"
I tried so many combinations, but still the same error or similar error. Please Help!
Thank you.
Use BPM,
1) Receive ERP message - Async, transformation to WS1 structure
2) Send Sync to WS1
3) Response message, transform to WS2 structure
4)Send Sync to WS2
5) Response message, Send Async to write as a file as well as to ERP.
Configure the scenario with relevant ID,RA.
Cheers
Veera
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
>Can a response from a synchronous webservice be ignored in PI?
Yes that is possible.
refer this [link|http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/23745] [original link is broken] [original link is broken] [original link is broken];
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 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
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.