org.apache.axis2.jaxws.message
Class XMLFaultCode

java.lang.Object
  extended by org.apache.axis2.jaxws.message.XMLFaultCode

public class XMLFaultCode
extends java.lang.Object

Agnostic representation of SOAP 1.1 and SOAP 1.2 fault code values.

See Also:
XMLFault

Field Summary
static XMLFaultCode DATAENCODINGUNKNOWN
           
static XMLFaultCode MUSTUNDERSTAND
           
static XMLFaultCode RECEIVER
           
static XMLFaultCode SENDER
           
static XMLFaultCode VERSIONMISMATCH
           
 
Constructor Summary
XMLFaultCode(QName faultCode)
           
 
Method Summary
static XMLFaultCode fromQName(QName qName)
          get the XMLPart corresponding to this specified QName
 QName toQName(java.lang.String protocolNamespace)
          Return QName for the given protocol
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SENDER

public static final XMLFaultCode SENDER

RECEIVER

public static final XMLFaultCode RECEIVER

MUSTUNDERSTAND

public static final XMLFaultCode MUSTUNDERSTAND

DATAENCODINGUNKNOWN

public static final XMLFaultCode DATAENCODINGUNKNOWN

VERSIONMISMATCH

public static final XMLFaultCode VERSIONMISMATCH
Constructor Detail

XMLFaultCode

public XMLFaultCode(QName faultCode)
Method Detail

toQName

public QName toQName(java.lang.String protocolNamespace)
Return QName for the given protocol

Parameters:
namespace - of the envelope for the protocol
Returns:

fromQName

public static XMLFaultCode fromQName(QName qName)
get the XMLPart corresponding to this specified QName

Parameters:
qName -
Returns:
corresponding XMLPart


Copyright © 2007 Apache Web Services Project. All Rights Reserved.