org.apache.axis.message.addressing
Interface AddressingHeaderItem

All Known Implementing Classes:
Action, Address, AttributedURI, EndpointReference, FaultTo, From, MessageID, Recipient, RelatesTo, ReplyTo, To

public interface AddressingHeaderItem

Common methods to all SOAP Header Element types.

Version:
$Revision: 14 $
Author:
Rodrigo Ruiz

Method Summary
 javax.xml.soap.SOAPHeaderElement toSOAPHeaderElement(AddressingVersion version, javax.xml.soap.SOAPEnvelope env, java.lang.String actorURI)
          Gets a SOAP Header Element from this instance.
 javax.xml.soap.SOAPHeaderElement toSOAPHeaderElement(javax.xml.soap.SOAPEnvelope env, java.lang.String actorURI)
          Gets a SOAP Header Element from this instance.
 

Method Detail

toSOAPHeaderElement

javax.xml.soap.SOAPHeaderElement toSOAPHeaderElement(AddressingVersion version,
                                                     javax.xml.soap.SOAPEnvelope env,
                                                     java.lang.String actorURI)
                                                     throws javax.xml.soap.SOAPException
Gets a SOAP Header Element from this instance.

Parameters:
version - WS-Addressing version to use
env - SOAP envelope to append to
actorURI - Actor URI
Returns:
Header Element
Throws:
javax.xml.soap.SOAPException - If an error occurs

toSOAPHeaderElement

javax.xml.soap.SOAPHeaderElement toSOAPHeaderElement(javax.xml.soap.SOAPEnvelope env,
                                                     java.lang.String actorURI)
                                                     throws javax.xml.soap.SOAPException
Gets a SOAP Header Element from this instance.

Parameters:
env - SOAP envelope to append to
actorURI - Actor URI
Returns:
Header Element
Throws:
javax.xml.soap.SOAPException - If an error occurs


Copyright © 2008-2009 Rodrigo Ruiz. All Rights Reserved.