on 05-23-2008 9:24 AM
Hi Experts,
Scenario : SOAP -> First webservice -> Second Webservice -> Third Webservice
Requirement : If the EmpId from the SOAP client request is 234 then I have to call the first webservice otherwise I have to skip the First webservice from the busiess process.
How to achieve this in BPM?
Please share your suggestions.
Regards
Sara
Use the following
1. Receive step (1st webservice)
2. Switch, give condition on EmpId
3. Send for webservice inside switch
4. Other send step outside switch
Regards,
Prateek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
You use a switch to call first webservice and leave ur otherwise branch empty. In condtion editor of switch step check your EmpId.
More on switch step-
[http://help.sap.com/saphelp_nw70/helpdata/EN/62/dcef46dae42142911c8f14ca7a7c39/frameset.htm]
So ur over all steps will be
1. Receive Request from SOAP sender using Receive step
2. Call 1st WS using send step in Switch
3. Call 2nd WS using send step
4. Call 3rd WS using send step
Regards
Sami
Reward points if helpful.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Sara,
Use Switch (Step Type) You can Achive this.
Uses of Switch:
http://help.sap.com/saphelp_nw04/helpdata/en/6a/db283fd0ca8443e10000000a114084/frameset.htm
Step Types :
http://help.sap.com/saphelp_nw04/helpdata/en/6a/db283fd0ca8443e10000000a114084/frameset.htm
Satya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sara,
Yes it is possible, in switch step , use the id as xpath and maitainn the condition.
It will depends upon the message structure , i mean , if the message contains one record per each message then sure on emesage will pass through that switch.
Else if the message is multiline , or holding the no of records then it will not pass.So try to maitain the occurrences to achieve your task
Reward points if this helps
Regards
Pragathi.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Agreed with Prateek and Patric,
You can use both the things in combination or seperately. But you have to use the switch and the put your condition of SOAP client request if it is 234 go ahead with first web service else whatever you wanna do.
Hope this will help you.
Regards
Aashish Sinha
PS : reward points if helpful
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,Sara
1) U can use SWITCH to achieve this.
2) In condition tab u can chose your field containing value 234.
3) check it with constant 234.
Regards,
Rohit
Reward points if helpful.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
you could use a switch step after SOAP if true you call the first Web service and leave the otherwise branch empty.
1) SOAP
2) switch
2a) true (client request is 234): first Web service
2b) false: no action
3) second Web service
4) third Web service
http://help.sap.com/saphelp_nw04/helpdata/en/6a/db283fd0ca8443e10000000a114084/frameset.htm
Regards
Patrick
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 | |
10 | |
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.