WS-Addressing 1.0 stateful services / Server side |
This record MUST have:
A mandatory member of type STRING, where you can define a different service end point URL, otherwise the current server URL will be used.
A sub record to contain one or more 4GL variables used as state variables and defined as reference parameter in the WS-Addressing 1.0 specification.
DEFINE EndpointReferenceState RECORD ATTRIBUTE(W3CEndpointReference) address STRING, # Mandatory ref RECORD # Sub-record Reference parameters containing one # or more state variables OpaqueID STRING ATTRIBUTE(XMLName="OpaqueID"), # Unique ID to #identify the service state in the database Expiration DATE ATTRIBUTE(XMLName="Expiration", XMLNamespace="http://tempuri.org") # Session state expiration date END RECORD END RECORD
You can use a unique ID of a database table to manage the web services sessions in place of OpaqueID.