SOAP API
If you wish to integrate your services with EngageOne Server you need to be aware
of the optional transientSession flag. This flag is present in the
UsernameToken section of each SOAP request and should be set
according to the needs of the environment integrating with EngageOne Server.
If you do not provide the transientSession flag explicitly, the default
behavior depends on property security.soap.transient.session.default. This
optional property is set in your deploy.properties file, and it can take one
of two values:
ACTIVE_WHEN_NOT_SPECIFIEDINACTIVE_WHEN_NOT_SPECIFIED
If the property is not provided, the system behaves as if
ACTIVE_WHEN_NOT_SPECIFIED was set.
OpenAM sessions related to SOAP web service calls are not created if:
transientSessionflag is set toTRUEin the incoming SOAP request;transientSessionflag is not provided in the SOAP request and propertysecurity.soap.transient.session.defaultis set toACTIVE_WHEN_NOT_SPECIFIED.transientSessionflag is not provided in the SOAP request and propertysecurity.soap.transient.session.defaultis commented.
Each SOAP request will create a new OpenAM session if:
transientSessionflag is set toFALSEin the incoming SOAP request;transientSessionflag is not provided in the SOAP request and property security.soap.transient.session.default is set toINACTIVE_WHEN_NOT_SPECIFIED.
Consequently, there’s no need to set transientSession flag explicitly unless
it is absolutely necessary, as the same can be achieved through the default setting available
in deploy.properties file.
The only scenario where transientSession needs to be provided (and set to
FALSE) is when there is a need to reuse the session token returned in the
SOAP response. In all other cases, we recommend setting transientSession flag
to TRUE or not providing it at all, as it results in a significant reduction
of the data processed and replicated between security nodes.