|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.axis.message.addressing.AddressingHeaders
Represents a set of message addressing headers as defined by the WS-Addressing spec.
Constructor Summary | |
AddressingHeaders()
Constructor AddressingHeaders |
|
AddressingHeaders(EndpointReference epr)
|
|
AddressingHeaders(javax.xml.soap.SOAPEnvelope env)
Constructor AddressingHeaders |
|
AddressingHeaders(javax.xml.soap.SOAPEnvelope env,
boolean process,
boolean remove)
Constructor AddressingHeaders |
|
AddressingHeaders(javax.xml.soap.SOAPEnvelope env,
java.lang.String actorURI,
boolean process,
boolean remove)
Constructor AddressingHeaders |
|
AddressingHeaders(javax.xml.soap.SOAPEnvelope env,
java.lang.String actorURI,
boolean process,
boolean remove,
boolean setMustUnderstand,
java.util.List refPropsQNames)
Constructor AddressingHeaders. |
Method Summary | |
void |
addReferenceProperty(org.w3c.dom.Element refProp)
Method addReferenceProperty : Adds an XML element to the referencePropeties collection |
void |
addReferenceProperty(org.apache.axis.message.MessageElement refProp)
|
void |
addRelatesTo(java.lang.String uri,
javax.xml.namespace.QName type)
Method addRelatesTo |
Action |
getAction()
Method getAction |
EndpointReference |
getFaultTo()
Method getFaultTo |
EndpointReference |
getFrom()
Method getFrom |
MessageID |
getMessageID()
Method getMessageID |
java.lang.String |
getNamespaceURI()
Returns the WSA namespace URI used in this set of headers. |
ReferencePropertiesType |
getReferenceProperties()
Method getReferenceProperties |
java.util.List |
getRelatesTo()
Method getRelatesTo |
EndpointReference |
getReplyTo()
Method getReplyTo |
To |
getTo()
Method getTo |
boolean |
isSetMustUnderstand()
|
void |
setAction(Action action)
Method setAction |
void |
setAction(java.lang.String uri)
|
void |
setFaultTo(EndpointReference epr)
Method setFaultTo |
void |
setFrom(EndpointReference ref)
Method setFrom |
void |
setMessageID(MessageID messageID)
Method setMessageID |
void |
setReferenceProperties(ReferencePropertiesType refProps)
Method setReferenceProperties |
void |
setRelatesTo(java.util.List v)
Set the collection of RelatesToProperties. |
void |
setReplyTo(EndpointReference ref)
Method setReplyTo |
void |
setSetMustUnderstand(boolean setMustUnderstand)
|
void |
setTo(AttributedURI uri)
Method setTo |
void |
setTo(To to)
Method setTo |
void |
toEnvelope(javax.xml.soap.SOAPEnvelope env)
Adds these addressing headers to the specified SOAP envelope. |
void |
toEnvelope(javax.xml.soap.SOAPEnvelope env,
java.lang.String actorURI)
Adds these addressing headers to the specified SOAP envelope. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public AddressingHeaders()
public AddressingHeaders(EndpointReference epr)
public AddressingHeaders(javax.xml.soap.SOAPEnvelope env) throws java.lang.Exception
env
-
java.lang.Exception
public AddressingHeaders(javax.xml.soap.SOAPEnvelope env, boolean process, boolean remove) throws java.lang.Exception
env
- process
- remove
-
java.lang.Exception
public AddressingHeaders(javax.xml.soap.SOAPEnvelope env, java.lang.String actorURI, boolean process, boolean remove) throws java.lang.Exception
env
- actorURI
- process
-
java.lang.Exception
public AddressingHeaders(javax.xml.soap.SOAPEnvelope env, java.lang.String actorURI, boolean process, boolean remove, boolean setMustUnderstand, java.util.List refPropsQNames) throws java.lang.Exception
env
- The SOAP EnvelopeactorURI
- The SOAP Actor URIprocess
- Should the headers be marked as processedremove
- Should the headers be removed after processingsetMustUnderstand
- whether or not to set mustUnderstand="true" on the headersrefPropsQNames
- A list of QNames for reference properties. If null
all non-WSA headers will be added as reference
properties. If an empty list is passed
than no headers will be added reference properties
(default). If non empty list of qnames is passed
then only headers matching the qname in the list
will be added as reference properties.
java.lang.Exception
Method Detail |
public java.lang.String getNamespaceURI()
public Action getAction()
public void setAction(Action action)
action
- public void setAction(java.lang.String uri) throws java.lang.Exception
java.lang.Exception
public To getTo()
public void setTo(To to)
to
- public void setMessageID(MessageID messageID)
messageID
- public void setReferenceProperties(ReferencePropertiesType refProps)
refProps
- public ReferencePropertiesType getReferenceProperties()
public void addReferenceProperty(org.w3c.dom.Element refProp)
refProp
- public void addReferenceProperty(org.apache.axis.message.MessageElement refProp)
public void toEnvelope(javax.xml.soap.SOAPEnvelope env) throws java.lang.Exception
env
-
java.lang.Exception
public void toEnvelope(javax.xml.soap.SOAPEnvelope env, java.lang.String actorURI) throws java.lang.Exception
env
-
javax.xml.soap.SOAPException
javax.xml.parsers.ParserConfigurationException
java.lang.Exception
public MessageID getMessageID()
public java.util.List getRelatesTo()
public void setRelatesTo(java.util.List v)
v
- Vector of RelatesToPropertiespublic void addRelatesTo(java.lang.String uri, javax.xml.namespace.QName type) throws org.apache.axis.types.URI.MalformedURIException
uri
- type
-
URI.MalformedURIException
public void setTo(AttributedURI uri)
uri
- public EndpointReference getFrom()
public void setFrom(EndpointReference ref)
ref
- public EndpointReference getReplyTo()
public void setReplyTo(EndpointReference ref)
ref
- public EndpointReference getFaultTo()
public void setFaultTo(EndpointReference epr)
epr
- public boolean isSetMustUnderstand()
public void setSetMustUnderstand(boolean setMustUnderstand)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |