javax.xml.ws.addressing.soap
Interface SOAPAddressingProperties

All Superinterfaces:
AddressingProperties, AddressingType, java.util.Map<javax.xml.namespace.QName,AddressingType>

public interface SOAPAddressingProperties
extends AddressingProperties

Subinterface of AddressingProperties includes methods that read and write the Message Addressing Properties to a SOAPMessage. All individual properties must implement SOAPAddressingElement.

Version:
JAX-WSA 1.0
Author:
JAX-WSA Development Team

Nested Class Summary
 
Nested classes/interfaces inherited from interface java.util.Map
java.util.Map.Entry<K,V>
 
Method Summary
 void readHeaders(javax.xml.soap.SOAPMessage message)
          Initialize the AddressingProperties object by reading the AddressingHeaders on the given SOAPMessage.
 void setMu(boolean mu)
          Sets mustUnderstand attribute on all WS-Addressing header blocks
 void writeHeaders(javax.xml.soap.SOAPMessage message)
          Write the properties of this AddressingProperties object as Addressing Headers on a SOAPMessage.
 
Methods inherited from interface javax.xml.ws.addressing.AddressingProperties
getAction, getFaultTo, getFrom, getMessageID, getReferenceParameters, getRelatesTo, getReplyTo, getTo, initializeAsDestination, initializeAsFault, initializeAsReply, setAction, setAction, setFaultTo, setFaultTo, setFrom, setFrom, setMessageID, setMessageID, setRelatesTo, setReplyTo, setReplyTo, setTo, setTo
 
Methods inherited from interface javax.xml.ws.addressing.AddressingType
getNamespaceURI
 
Methods inherited from interface java.util.Map
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values
 

Method Detail

readHeaders

void readHeaders(javax.xml.soap.SOAPMessage message)
                 throws AddressingException
Initialize the AddressingProperties object by reading the AddressingHeaders on the given SOAPMessage.

Parameters:
message - The message to be read
Throws:
AddressingException - if an error occurs.

writeHeaders

void writeHeaders(javax.xml.soap.SOAPMessage message)
                  throws AddressingException
Write the properties of this AddressingProperties object as Addressing Headers on a SOAPMessage.

Parameters:
message - The message to be written to.
Throws:
AddressingException - if an error occurs.

setMu

void setMu(boolean mu)
Sets mustUnderstand attribute on all WS-Addressing header blocks

Parameters:
mu - value of mustUnderstand


Copyright © 2005 Sun Microsystems, Inc. All Rights Reserved.