WS-Addressing 1.0 stateful services / Server side |
The Genero Web Service extension provides a new Web service constructor called createStatefulWebService() to perform stateful services. This function works as the stateless constructor, but expects a W3CEndpointReference record as parameter.
DEFINE serv com.WebService LET serv = com.WebService.CreateStatefulWebService( "StatefulWSAddressingService","http://4js.com/services", EndpointReferenceState) # Create a stateful service # with a W3CEndpointReference state variable CALL serv.setFeature("WS-Addressing1.0","REQUIRED") # enable # support of WS-Addressing 1.0