cancel
Showing results for 
Search instead for 
Did you mean: 

Query regarding event notification in By Design

0 Kudos

Hello Knut,

Can you please suggest if a custom odata service can be used as an end point url while raising event notification in By design? I tried proving custom odata url which includes x-csrf-token and Basic user/pwd authentication. When checked Event monitoring it fails stating x-xcrf- token validation failed whereas it runs properly from Postman.

Appreciate your help!

Enda
Product and Topic Expert
Product and Topic Expert
0 Kudos

Welcome and thanks for visiting SAP Community to get answers to your questions. Check out our tutorial to get started in SAP Community: https://developers.sap.com/tutorials/community-start.html By adding a picture to your profile you encourage readers to respond to your question. Learn more about your profile here: https://developers.sap.com/tutorials/community-profile.html

View Entire Topic
former_member206060
Contributor
0 Kudos

Hello Richa,

Since OData is a stateless protocol, it's required to do cookie handling in order to make a successful modifying call. Otherwise, the CSRF token will be considered invalid, as the second call will be based on a different session. Basically a customer implementation must never code on cookie names or cookie sequences etc., but a client must consume bounce all cookies it gets along the cookie specification.

Please check if the below document will be of any help in your case:-

https://launchpad.support.sap.com/#/notes/2584064

Thanks,

Dhanya

Hello Divya,

Thanks for your response. But, my query in more on lines of new functionality released by SAP Business ByDesign.

Recently, Event Notification has been added under Application and User Management. I would like to understand if a custom ODATA service end point URL can be used under subscriber definition. If yes, please suggest how?

Thanks