org.apache.sandesha2.wsrm
Class AckRequested

java.lang.Object
  extended by org.apache.sandesha2.wsrm.AckRequested
All Implemented Interfaces:
IOMRMElement, IOMRMPart

public class AckRequested
extends java.lang.Object
implements IOMRMPart

Represent the AckRequested header block. The 2005/02 spec includes a 'MessageNumber' part in the ack request, but the 2006/08 spec does not. As the message number was never used in our implementation we simply ignore it.


Constructor Summary
AckRequested(java.lang.String namespaceValue)
           
 
Method Summary
 java.lang.Object fromOMElement(org.apache.axiom.om.OMElement ackReqElement)
           
 Identifier getIdentifier()
           
 java.lang.String getNamespaceValue()
           
 boolean isMustUnderstand()
           
 boolean isNamespaceSupported(java.lang.String namespaceName)
           
 void setIdentifier(Identifier identifier)
           
 void setMustUnderstand(boolean mustUnderstand)
           
 org.apache.axiom.om.OMElement toOMElement(org.apache.axiom.om.OMElement header)
           
 void toSOAPEnvelope(org.apache.axiom.soap.SOAPEnvelope envelope)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AckRequested

public AckRequested(java.lang.String namespaceValue)
             throws SandeshaException
Throws:
SandeshaException
Method Detail

getNamespaceValue

public java.lang.String getNamespaceValue()
Specified by:
getNamespaceValue in interface IOMRMElement

fromOMElement

public java.lang.Object fromOMElement(org.apache.axiom.om.OMElement ackReqElement)
                               throws org.apache.axiom.om.OMException,
                                      SandeshaException
Specified by:
fromOMElement in interface IOMRMElement
Throws:
org.apache.axiom.om.OMException
SandeshaException

toOMElement

public org.apache.axiom.om.OMElement toOMElement(org.apache.axiom.om.OMElement header)
                                          throws org.apache.axiom.om.OMException
Specified by:
toOMElement in interface IOMRMElement
Throws:
org.apache.axiom.om.OMException

setIdentifier

public void setIdentifier(Identifier identifier)

getIdentifier

public Identifier getIdentifier()

toSOAPEnvelope

public void toSOAPEnvelope(org.apache.axiom.soap.SOAPEnvelope envelope)
Specified by:
toSOAPEnvelope in interface IOMRMPart

isMustUnderstand

public boolean isMustUnderstand()

setMustUnderstand

public void setMustUnderstand(boolean mustUnderstand)

isNamespaceSupported

public boolean isNamespaceSupported(java.lang.String namespaceName)
Specified by:
isNamespaceSupported in interface IOMRMElement


Copyright © 2007 Apache Web Services Project. All Rights Reserved.