on 08-29-2008 9:50 PM
Hello experts,
Our scenario is IDOC->XI->(HTTP and EMAIL), because we want to do a HTTP post and send a confirmation email. This can be implemented using message split ([with|https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/2748] [original link is broken] [original link is broken] [original link is broken]; or [without|https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/3115] [original link is broken] [original link is broken] [original link is broken]; BPM).
What we would like to know is, if it is possible to get the http response in this scenario and send it via email. At the moment, we don't get the response at all, because IDoc scenarios are asynchronous.... but this way, we don't know, if the http server could process the message correctly.
So we need a scenario like:
IDOC -> XI -> HTTP -> HTTPresponse -> XI -> MAIL
How can this be done?
Best regards,
David
You need BPM for this scenario.
Model a receive step, a synchronous send step and a final async send step.
Do mapping from Idoc to http request and mapping from Http response to mail.
Hope that helps
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You need a 2:1 mapping. source interfaces are Idoc and Http response, target interface is the mail.
As you can do his only for abstract interfaces, you have to create an abstract message interface based on the IDoc structure.
For the http call you need abstract async message interfaces representing request and response which you can use for the mapping and for the container variables inside the BPM.
Regards
Stefan
Hi David!
If you are able to send any Http message in reference to message from XI (eg. with Idoc number or msg-id) there is no problem to process it in your scenario (even if comunication is asynchronous).
Regards,
Radek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
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.