on 03-27-2012 3:05 AM
Hi. Dear Experts
I have an scenario synchronous.
ECC ----- PI ------ WebService - PI 7.1
The web service has 3 soap action , I need to want to call all of them, I searched on sdn for dynamic configuration.
DynamicConfigurationKey keyURL = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/SOAP ","THeaderSOAPACTION");
Regards.
Hello,
The web service has 3 soap action , I need to want to call all of them, I searched on sdn for dynamic configuration.
You will only have the last soap action in this case. A workaround would be to call the webservice two times (for the 1st and 2nd SOAP action) in your message mapping and then the 3rd SOAP action would be in your SOAP Receiver CC. Another way is to use BPM.
But the cleanest would be to send a different message (from ECC) for each SOAP Action.
Hope this helps,
Mark
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi. Mark.
How is posible that?
Hi,
>>>> ECC only will send a simple payload with keyvalue and them I will to call these WS and the return to ECC such as one structure with some data from Generic and Details WS.
yes and no
1. if you want to have all three in one reponse message to ECC you can use a BPM and call them one by one (3 send steps) and get responses and combine them and send to ECC
2. alternative :
call them one by one without a BPM and create 3 tables in ECC
- one for reponse from each call
then you can create a simple report in ECC which will be running as a schedule job like every few minutes which will take the data from those Z tables and update the ECC (call a BAPI or whatever)
3. you can also make 3 calls from one single call without a BPM - call one WS as in normal flow and the other two from RESPONSE mapping of the first call (I've written a blog on this topic) - this is not very pretty approach but it works and there is no need for a BPM in this case
so basically you have those three choices,
Regards,
Michal Krawczyk
Hi,
>>>How can I call multiple soap Action?. I send many soap Action but always take the last.
you need to call them one by one
ECC ----- PI ------(split into 3 interfaces) WebService - PI 7.1
in each of the three mappings set corresponding soap action and you're done
you cannot call 3 actions in one call
Regards,
Michal Krawczyk
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
24 | |
11 | |
9 | |
7 | |
5 | |
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.