issrg.utils.message
Interface WSProtocol

All Known Implementing Classes:
WSPermis

public interface WSProtocol

Author:
Linying Su

Method Summary
 org.w3c.dom.Element invoke(org.w3c.dom.Element message)
          This method is used to receive a WS_TRUST, XCAML or SAML message and return corresponding response.
 java.lang.String invoke(java.lang.String message)
          This method is used to receive a WS_TRUST, XCAML or SAML message and return corresponding response.
 

Method Detail

invoke

java.lang.String invoke(java.lang.String message)
                        throws HandlerServiceException
This method is used to receive a WS_TRUST, XCAML or SAML message and return corresponding response.

Parameters:
message, - which is the received message.
Returns:
the response in the form of XML string
Throws:
HandlerServiceException

invoke

org.w3c.dom.Element invoke(org.w3c.dom.Element message)
                           throws HandlerServiceException
This method is used to receive a WS_TRUST, XCAML or SAML message and return corresponding response.

Parameters:
message, - which is the received message.
Returns:
the response in the form of XML string
Throws:
HandlerServiceException