cancel
Showing results for 
Search instead for 
Did you mean: 

Create new Alert consumer and its next steps in PI7.31 dual stack

Former Member
0 Kudos

Dear Experts,

I have created Alert Rule in Integration Directory of SAP-PI 7.3 ( Dual Stack). Theres already exisitng "Consumer" ALERT-TO-MAIL

and sucessfully retrieving the messages to the mail.This mail is sending the mail template which describing only the no of messages

and 1 XML message id. To avoid this, I want to create a new consumer where I can add my piece of error information in the subject

as well as body of the mail. To achieve this , I have to create a new consumer.

I refered to the following links.

http://help.sap.com/saphelp_nw73ehp1/helpdata/en/9b/b8b1b38fc74043a90fbc79d2e7abd4/content.htm

http://help.sap.com/saphelp_nw73ehp1/helpdata/en/03/cdec71261a4f8c9b9349c625911e91/content.htm

http://help.sap.com/saphelp_nw73ehp1/helpdata/en/96/8e86818b7441bd9085e69079500068/content.htm

http://help.sap.com/saphelp_nw73ehp1/helpdata/en/9b/b8b1b38fc74043a90fbc79d2e7abd4/content.htm

I referred Michals blog http://scn.sap.com/community/pi-and-soa-middleware/blog/2012/05/05/michals-pi-tips-component-based-m...

but unable to move ahead.

Please guide.

Regards

Rebecca

Accepted Solutions (1)

Accepted Solutions (1)

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

>>>but unable to move ahead.

http://scn.sap.com/community/pi-and-soa-middleware/blog/2012/05/05/michals-pi-tips-component-based-m...

step 2 of my blog:

use AlertRuleRegisterConsumerRequest web service in wsnavigator

put:

a) AlertRuleID - which is the name of the rule created in ID

b) ConsumerName - which will be the name of the consumer

and this is it a new consumenr should be visible in ID - do you have any errors while doing that ?

Regards,

Michal Krawczyk


Former Member
0 Kudos

Hi Michal,

Yes, I had referred to your document and following the same steps as mentioned.

<<

To add a new consumer we will use - AlertRuleRegisterConsumerRequest - web service.

>>

1.I am unable to find this web service AlertRuleRegisterConsumerRequest - web service WSNAVIGATOR at NWA.

This is where I am stucked up?

Regards

Rebecca

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

my bad the WS is - RegisterConsumer - do you see this one  ?

AlertRuleRegisterConsumerRequest is a structure of this WS

Regards,

Michal Krawczyk

Former Member
0 Kudos

Dear Michal,

1.I searched the WS "RegisterConsumer" in the navigation NWA->SOA->Application and Scenario Communication-> Single Service Administration but could not able to find any.

Also in the WS Navigator, I could not find RegisterConsumer using all the options?

2.Infact I found  service "AlertRetrieveAPI" (API retrieves PI alerts from the local alert consumer queues) in the Service Definition tab.Also when tried to test I got error " It is not allowed duplicate soap-binding[(http://sap.com/xi/BASIS/alerting)AlertRetrieveAPIBinding] entities to be attach to definitions.

Could you help me ? Am i missing anything?

Thanks!!

Rebecca

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

if you cannot find - RegisterConsumer - then I don't know what might be wrong,

Regards,

Michal Krawczyk

Former Member
0 Kudos

Hi Rebecca,

Try with the option Service Registry. Confirm with the BASIS team  or you can check yourself whether the Service Registry tasks is completed while performing the CTC.

Regards

Robinson Thomas

Former Member
0 Kudos

Hi Robinson,

The CTC tasks for Service Registry was not executed. The BASIS team completed it.The issue is still there. I am trying to invoke the service using the Service Registry option but still not able to find the consumer.

Regards

Rebecca

Former Member
0 Kudos

Hi Robinson,

Great!! It working. Using the Alert Rule Id  , I am able to see the new consumer after invoking.

Tnx

Rebecca

Former Member
0 Kudos

Hi,

We are running PI 7.31 single stack and I am also unable to find this web service however the ESR seems to be functioning correctly as I can find other web services. Does anybody know if the web service to register consumers is still called RegisterConsumer on 7.31?

Former Member
0 Kudos

Hello,

Search for the service "AlertRuleIn"-> there will be multiple operation inside this service but u have to use "RegisterConsumer" operation.

Thanks

Amit Srivastava

Former Member
0 Kudos

Hi Amit,

Thanks for the clarification. This is now working by using service AlertRuleIn.

Regards

Ian

Former Member
0 Kudos

This message was moderated.

Answers (0)