Interface WSApplicationSession


public interface WSApplicationSession
This interface adds SIP-Web Services functionality API for converged applications.
  • Method Summary

    Modifier and Type
    Method
    Description
    createEPR(String appSessionId)
    Create an EndpointReference (EPR) and update it with the application session ID which can be used by converged applications using web services.
    createEPR(String appSessionId, QName portName, QName serviceName, WebServiceContext context)
    This is a more generic method to create an EPR for any converged web service.
  • Method Details

    • createEPR

      W3CEndpointReference createEPR(String appSessionId) throws 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:
      Exception - - if an unexpected error occurs
    • createEPR

      W3CEndpointReference createEPR(String appSessionId, QName portName, QName serviceName, WebServiceContext context) throws 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:
      Exception - - if an unexpected error occurs