Message Center-Create dynamic session token | Community
Skip to main content
Level 4
September 24, 2019
Solved

Message Center-Create dynamic session token

  • September 24, 2019
  • 1 reply
  • 1969 views

Hi team,

We have a requirement from client that the session token cannot be hardcoded in the SOAP call as the SOAP call will be triggered by another team (not AC team).

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:nms:rtEvent">

   <soapenv:Header/>

   <soapenv:Body>

      <urn:PushEvent>

         <urn:sessiontoken>?</urn:sessiontoken>

         <urn:domEvent>

            <!--You may enter ANY elements at this point-->

         </urn:domEvent>

      </urn:PushEvent>

   </soapenv:Body>

</soapenv:Envelope>

Is there any way that this session token can be created dynamically by using any API's?

Regards,

Priyanka

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Jonathon_wodnicki

Hi,

Use xtk:session#Logon to get a session token, as needed (not every call).

Thanks,

-Jon

1 reply

Jonathon_wodnicki
Community Advisor
Jonathon_wodnickiCommunity AdvisorAccepted solution
Community Advisor
September 24, 2019

Hi,

Use xtk:session#Logon to get a session token, as needed (not every call).

Thanks,

-Jon