cgl.narada.wsinfra.wsa
Interface ParseWsaHeaders

All Known Implementing Classes:
ParseWsaHeadersImpl

public interface ParseWsaHeaders

This is a utility class which takes an XmlCursor and retrives all the WS-Addressing headers that can be located.


Method Summary
 ActionDocument getAction(EnvelopeDocument envelopeDocument)
          Retrive the [wsa:Action] from within the SOAP envelope.
 AddressingHeaders getAddressingHeaders(EnvelopeDocument envelopeDocument)
          This method retrives the WS-Addressing headers that are available within the SOAP envelope
 FaultToDocument getFaultTo(EnvelopeDocument envelopeDocument)
          Retrive the [wsa:FaultTo] from within the SOAP envelope.
 FromDocument getFrom(EnvelopeDocument envelopeDocument)
          Retrive the [wsa:From] from within the SOAP envelope.
 MessageIDDocument getMessageID(EnvelopeDocument envelopeDocument)
          Retrive the [wsa:MessageID] from within the SOAP envelope.
 RelatesToDocument getRelatesTo(EnvelopeDocument envelopeDocument)
          Retrive the [wsa:RelatesTo] from within the SOAP envelope.
 ReplyAfterDocument getReplyAfter(EnvelopeDocument envelopeDocument)
          Retrive the [wsa:ReplyAfter] from within the SOAP envelope.
 ReplyToDocument getReplyTo(EnvelopeDocument envelopeDocument)
          Retrive the [wsa:ReplyTo] from within the SOAP envelope.
 ToDocument getTo(EnvelopeDocument envelopeDocument)
          Retrive the [wsa:To] from within the SOAP envelope.
 

Method Detail

getAddressingHeaders

AddressingHeaders getAddressingHeaders(EnvelopeDocument envelopeDocument)
                                       throws ParsingException
This method retrives the WS-Addressing headers that are available within the SOAP envelope

Throws:
ParsingException

getAction

ActionDocument getAction(EnvelopeDocument envelopeDocument)
                         throws ParsingException
Retrive the [wsa:Action] from within the SOAP envelope. If this element IS NOT present a null is returned. If the element IS present and if there are problems parsing the element a parsing exception is thrown.

Throws:
ParsingException

getFrom

FromDocument getFrom(EnvelopeDocument envelopeDocument)
                     throws ParsingException
Retrive the [wsa:From] from within the SOAP envelope. If this element IS NOT present a null is returned. If the element IS present and if there are problems parsing the element a parsing exception is thrown.

Throws:
ParsingException

getTo

ToDocument getTo(EnvelopeDocument envelopeDocument)
                 throws ParsingException
Retrive the [wsa:To] from within the SOAP envelope. If this element IS NOT present a null is returned. If the element IS present and if there are problems parsing the element a parsing exception is thrown.

Throws:
ParsingException

getReplyTo

ReplyToDocument getReplyTo(EnvelopeDocument envelopeDocument)
                           throws ParsingException
Retrive the [wsa:ReplyTo] from within the SOAP envelope. If this element IS NOT present a null is returned. If the element IS present and if there are problems parsing the element a parsing exception is thrown.

Throws:
ParsingException

getReplyAfter

ReplyAfterDocument getReplyAfter(EnvelopeDocument envelopeDocument)
                                 throws ParsingException
Retrive the [wsa:ReplyAfter] from within the SOAP envelope. If this element IS NOT present a null is returned. If the element IS present and if there are problems parsing the element a parsing exception is thrown.

Throws:
ParsingException

getFaultTo

FaultToDocument getFaultTo(EnvelopeDocument envelopeDocument)
                           throws ParsingException
Retrive the [wsa:FaultTo] from within the SOAP envelope. If this element IS NOT present a null is returned. If the element IS present and if there are problems parsing the element a parsing exception is thrown.

Throws:
ParsingException

getRelatesTo

RelatesToDocument getRelatesTo(EnvelopeDocument envelopeDocument)
                               throws ParsingException
Retrive the [wsa:RelatesTo] from within the SOAP envelope. If this element IS NOT present a null is returned. If the element IS present and if there are problems parsing the element a parsing exception is thrown.

Throws:
ParsingException

getMessageID

MessageIDDocument getMessageID(EnvelopeDocument envelopeDocument)
                               throws ParsingException
Retrive the [wsa:MessageID] from within the SOAP envelope. If this element IS NOT present a null is returned. If the element IS present and if there are problems parsing the element a parsing exception is thrown.

Throws:
ParsingException


For comments and suggestions please send e-mail to The NaradaBrokering Project
ail to The NaradaBrokering Project
HTML>