Class SecuredMessage


  • public class SecuredMessage
    extends Object
    Author:
    K.Venugopal@sun.com
    • Constructor Detail

      • SecuredMessage

        public SecuredMessage​(com.sun.xml.ws.api.message.Message msg,
                              SecurityHeader sh,
                              com.sun.xml.ws.api.SOAPVersion soapVersion)
        Creates a new instance of SecuredMessage
      • SecuredMessage

        public SecuredMessage​(com.sun.xml.ws.api.message.Message msg,
                              SecurityHeader sh)
    • Method Detail

      • getSOAPVersion

        public com.sun.xml.ws.api.SOAPVersion getSOAPVersion()
      • setRootElements

        public void setRootElements​(org.jvnet.staxex.NamespaceContextEx ne)
      • isOneWay

        public boolean isOneWay()
      • replaceHeader

        public boolean replaceHeader​(Object header1,
                                     Object header2)
      • getPayloadNamespaceURI

        public String getPayloadNamespaceURI()
      • getPayloadLocalPart

        public String getPayloadLocalPart()
      • getBody

        public Object getBody()
                       throws com.sun.xml.wss.XWSSecurityException
        Throws:
        com.sun.xml.wss.XWSSecurityException
      • replaceBody

        public void replaceBody​(SOAPBody sb)
      • getAttachments

        public com.sun.xml.ws.api.message.AttachmentSet getAttachments()
      • setAttachments

        public void setAttachments​(com.sun.xml.ws.api.message.AttachmentSet as)
      • getAttachment

        public com.sun.xml.ws.api.message.Attachment getAttachment​(String uri)