Package com.ibm.websphere.sip
Interface WSApplicationSession
-
public interface WSApplicationSessionThis interface adds SIP-Web Services functionality API for converged applications.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description javax.xml.ws.wsaddressing.W3CEndpointReferencecreateEPR(java.lang.String appSessionId)Create an EndpointReference (EPR) and update it with the application session ID which can be used by converged applications using web services.javax.xml.ws.wsaddressing.W3CEndpointReferencecreateEPR(java.lang.String appSessionId, javax.xml.namespace.QName portName, javax.xml.namespace.QName serviceName, javax.xml.ws.WebServiceContext context)This is a more generic method to create an EPR for any converged web service.
-
-
-
Method Detail
-
createEPR
javax.xml.ws.wsaddressing.W3CEndpointReference createEPR(java.lang.String appSessionId) throws java.lang.ExceptionCreate an EndpointReference (EPR) and update it with the application session ID which can be used by converged applications using web services. The resulting EPR can be passed to a web services client and used to make future requests with affinity. That will ensure the request comes back to the correct session. This method is different from the other one with a similar name. It is more tied specifically to the CEA web service.- Parameters:
appSessionId- - the SIP application session ID to be placed int the EPR which will be used for affinity.- Returns:
- - an EndPointReference with affinity based on the appSessionId
- Throws:
java.lang.Exception- - if an unexpected error occurs
-
createEPR
javax.xml.ws.wsaddressing.W3CEndpointReference createEPR(java.lang.String appSessionId, javax.xml.namespace.QName portName, javax.xml.namespace.QName serviceName, javax.xml.ws.WebServiceContext context) throws java.lang.ExceptionThis is a more generic method to create an EPR for any converged web service. Create an EndpointReference (EPR) and update it with the application session ID which can be used by converged applications using web services. The resulting EPR can be passed to a web services client and used to make future requests with affinity. That will ensure the request comes back to the correct session.- Parameters:
appSessionId- - the SIP application session ID to be placed int the EPR which will be used for affinity.portName- - The QName which will identify the reference parameter used for affinityserviceName- - The QName representing the service that the newly created EPR will representcontext- - The web service context associated with the calling code- Returns:
- - an EndPointReference with affinity based on the appSessionId
- Throws:
java.lang.Exception- - if an unexpected error occurs
-
-