cancel
Showing results for 
Search instead for 
Did you mean: 

Need to genearte session key (every 2 hrs) and can be shared in messages

Former Member
0 Kudos

HI Experts,

We have a requirement that needs to create a session key by requesting a web service and that needs to be regenerated for every 2 hours which needs to be inserted into the message header. The messages are coming for every 15 minutes.

Is there any way that we can automatically send request (for every 2 hours) with out stopping the process and can be shared with up to 2 hours.

Shall we have any mechanism in SAP XI so that any that request at os level and can be refreshed automaticcally for every 2 hours so that the same value can be inserted into messages.

Please share your ideas .

Thanks for Co-Operation,

Kiran.

Accepted Solutions (1)

Accepted Solutions (1)

santhosh_kumarv
Active Contributor
0 Kudos

Hi,

I Hope this will do the trick.

Define an integeration process and Schedule it to Run every two hours either by scheduling an fileadapter to pool every 2 hours and send an dummy file ti IP or write an proxy in R/3 system and schedule it to run every two hours so that the Integeration Process gets triggered every two hours.

In the IP use a synchronous send step(use a soap adapter Comm Chanel) login to the webservice and get the session id from it.

Go thru this blog to schedule the BPM <a href="/people/siva.maranani/blog/2005/05/22/schedule-your-bpm Your BPM</a> by Siva Maranani

Go thru this document for scheduling file adapter

<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/4f61fddf-0601-0010-7ab5-fb749538f6ab">Scheduling File Adapter</a>

[url=; Use a Good Subject Line, One Question Per Posting - Award Points[/url]

Answers (0)