IBM WebSphere Application ServerTM
Release 8

com.ibm.websphere.sip
Interface WSApplicationSession


public interface WSApplicationSession

This interface adds SIP-Web Services functionality API for converged applications.


Method Summary
 javax.xml.ws.wsaddressing.W3CEndpointReference createEPR(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.W3CEndpointReference createEPR(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.Exception
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. 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.Exception
This 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 affinity
serviceName - - The QName representing the service that the newly created EPR will represent
context - - 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

IBM WebSphere Application ServerTM
Release 8