cancel
Showing results for 
Search instead for 
Did you mean: 

Web Service is not triggered

Former Member
0 Kudos

Hi,

I have a web service in my BPM. This web service is an automated activity to send an e-mail based on user's decision. Everything works fine, except the e-mail is not triggered.

I configured this e-mail using Logical Destination and when I tested in the WSNavigator, it sent an e-mail.

So, my question here is, how to make sure this web service is getting called and how to trouble shoot this.

1. I checked in NWA, there is nothing related to this e-mail Web Service.

2. Checked in Process Composer: Manage Tasks, I cant see anything here.

3. Web Service is working fine with both Logical Destination and without.

I appreciate any help. Thanks.

Sunita.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

I was not populating context variable which evaluates whether to execute web service or not. It was wrongly populated. After I corrected it, its working fine.

Thanks everyone for your inputs.

Former Member
0 Kudos

Hi,

Please activate the WS tracing under SOA Management > Logs & Traces and there you can see the trace for the WS calls that you make through your application.

Hope this helps!!

Cheers,

Arafat

Former Member
0 Kudos

Thanks. I have set the trace on for web services as you suggested. Actually I am not even sure this web service is called in the first place. Do you know how to trace this? Other question is, if the web service is called, where can I see the log/trace for this? Appreciate your help.

Sunita.

Former Member
0 Kudos

Hi Sunita,

You can actually go to the NWA > Operation Management > Manage Process and look for your process instance.

Once you have selected the process indtance, click on the History tab and select the 'Advanced' view from the dropdown list.

Now you will be able to see the history of actions for the process.

Hope this helps!!

Cheers,

Arafat

Former Member
0 Kudos

Arafat,

I am able to see only till the Human Activity in the History. I don't see anything after that. Do you have any idea whats happening to the web service execution? is there any detailed document for executing WS from BPM.

This is what I did:

1. Created Automated activity by dragging the imported WSDL.

2. Configured the Service Interface and Logical Destination.

Thanks for your help.

Sunita

Former Member
0 Kudos

Hi Sunita,

You didn't say whether you configured the application communication via NWA->SOA Management->Application and Scenario Configuration->Application Communication' (CE 7.2). Since your BPM process is calling a web service you have to assign a profile to it. More information is available here: http://help.sap.com/saphelp_nwce72/helpdata/en/0B/EF46DBC6FA43C580E58EF2A829E343/content.htm

O.

Former Member
0 Kudos

Oliver,

Thanks for your reply. We are using CE 7.1. Do you think this link is relevant to us? I have another web service in BPM. This works fine.

Also, I checked NWA and did not see any call initiations. BPM is not even triggering this call. How should I approach this?

Please suggest. Thanks.

junwu
Active Contributor
0 Kudos

hi,

1.using service group instead of logical destination

2. check the java log to see if there is any error after the human task

Best regards,

John