Tuesday, May 17, 2011

How to genererate Session Toke Id when Integrating with External Application?

When there is a need to Integrate with External Application like ASP or JSP Siebel Requires to generate a session token which is called GUIDs in web world.



What are GUIDs?


GUIDs or Global Unique Identifiers are Unique IDs generated in software applications to uniquely identify any particular entity. Row Ids are unique across a Siebel environment hence cannot be used as a unique identfier when integrating with other applications, the GUIDs are unique globally.






To generate a GUID, the following Business Service can be used.

Business Service: FINS Teller Converter Extensions
Method: GenerateID

Inputs: IDType Value: GUID
Outputs: GUID in the PropertySet Value






Code:


Input.SetProperty("IDType", "GUID");
bsTeller = TheApplication().GetService("FINS Teller Converter Extensions");
bsTeller.InvokeMethod("GenerateID", Input, Output);
GUIDValue = Output.GetValue();



Sample GUIDs: B5065590-930E-11DE-A110-00212837A7C6, B5065591-930E-11DE-A110-00212837A7C6

Thanks to ZAP My Siebel for providing the above valuable information

No comments:

Post a Comment