on 08-08-2008 12:45 PM
Hi All,
I have a scenario like this:
The data is coming from a system through a webservice and the SOAP data to be mapped to idoc.But the trick is the idoc is aasynchronous one and the webservice expects a response in return as its designed synchronous. please suggest.
Again the webservice data contains some specific data field and on checking the relevence of the data we need to post that to idoc otherwise we can rollback.can this be checked with BPM?
if possible please suggest elaborately and if possible through another way suggest that also.
Abhishek
I would do the following you need a sync-async bridge:
Receive your sync sopa message (open bridge)--> Send Async IDoc with Application Acknowledgement if data is relavant --> Send Step to send a default message back to soap sender depending on whether you get the ack or not. (Close bridge)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Use BPM. The Idoc Ack in the form of ALEAUD has to be configured at receiver. This Idoc can be caught in BPM in the form of acknowledgement idoc. Once received, u may use tranform step of BPM to map certain values to ur webservice response. Use Sync-Async bridge concept (many weblogs available on sdn)
checking the relevence of the data
What is the logic here. U may check certain conditions in mapping directly and raise an alert accordingly.
Regards,
Prateek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thats y i was asking for the logic. Supposing that message mapping conditions are sufficient to incorporate the logic, the mapping can be done in such a way, that if the sener payload is correct (e.g. a mandatory field is present) then map it to the idoc structure, otherwise map it to a dummy structure.The dummy structure datatype could be have two fields Error_Code and Error_Desc. The mapping logic i mentioned here can be achieved using the multimapping concept. So using this, u can map a response structure of ur choice.
Regards,
Prateek
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.