org.apache.axis.message.addressing
Class FaultTo

java.lang.Object
  extended by org.apache.axis.message.addressing.EndpointReferenceType
      extended by org.apache.axis.message.addressing.EndpointReference
          extended by org.apache.axis.message.addressing.FaultTo
All Implemented Interfaces:
java.io.Serializable, org.apache.axis.encoding.AnyContentType, AddressingHeaderItem

public class FaultTo
extends EndpointReference

Java content class for FaultTo element declaration.

The following schema fragment specifies the expected content contained within this java content object. (defined at http://schemas.xmlsoap.org/ws/2004/08/addressing line 82)

 <element
   xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"
   name="FaultTo"
   type="wsa:EndpointReferenceType"/>
 

Version:
$Revision: 14 $
Author:
Davanum Srinivas
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.axis.message.addressing.EndpointReferenceType
metaData
 
Constructor Summary
FaultTo(Address address)
          Constructor FaultTo.
FaultTo(EndpointReferenceType endpoint)
          Constructor FaultTo.
FaultTo(javax.xml.soap.SOAPHeaderElement element)
          Constructor FaultTo.
FaultTo(org.apache.axis.types.URI uri)
          Constructor FaultTo.
 
Method Summary
 org.w3c.dom.Element toDOM(org.w3c.dom.Document doc)
          Method toDOM.
 javax.xml.soap.SOAPHeaderElement toSOAPHeaderElement(AddressingVersion version, javax.xml.soap.SOAPEnvelope env, java.lang.String actorURI)
          Gets a SOAP Header Element from this instance.
 
Methods inherited from class org.apache.axis.message.addressing.EndpointReference
addMetadata, addReferenceParameter, addReferenceProperty, toDOM, toSOAPHeaderElement, toSOAPHeaderElement
 
Methods inherited from class org.apache.axis.message.addressing.EndpointReferenceType
get_any, getAddress, getDeserializer, getMetadata, getParameters, getPortType, getProperties, getSerializer, getServiceName, getTypeDesc, set_any, setAddress, setMetadata, setParameters, setPortType, setProperties, setServiceName, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FaultTo

public FaultTo(Address address)
Constructor FaultTo.

Parameters:
address - Target address

FaultTo

public FaultTo(EndpointReferenceType endpoint)
Constructor FaultTo.

Parameters:
endpoint - Target end-point

FaultTo

public FaultTo(javax.xml.soap.SOAPHeaderElement element)
        throws org.apache.axis.types.URI.MalformedURIException
Constructor FaultTo.

Parameters:
element - Header element to copy from
Throws:
org.apache.axis.types.URI.MalformedURIException - If an error occurs

FaultTo

public FaultTo(org.apache.axis.types.URI uri)
Constructor FaultTo.

Parameters:
uri - Target URI
Method Detail

toDOM

public org.w3c.dom.Element toDOM(org.w3c.dom.Document doc)
Method toDOM.

Overrides:
toDOM in class EndpointReference
Parameters:
doc - Document to use for Node creation
Returns:
DOM Element

toSOAPHeaderElement

public 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.

Specified by:
toSOAPHeaderElement in interface AddressingHeaderItem
Overrides:
toSOAPHeaderElement in class EndpointReference
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


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