org.apache.axis2.jaxws.runtime.description.marshal
Interface FaultBeanDesc


public interface FaultBeanDesc

Description of FaultBean for a FaultDescription. The FaultBean is used to marshal and unmarshal the exception. The FaultBean is determined via annotation, faultInfo and package introspection.


Method Summary
 java.lang.String getFaultBeanClassName()
          Get the class name of the fault bean for the FaultDescription.
 java.lang.String getFaultBeanLocalName()
          Get the local name of the fault bean.
 java.lang.String getFaultBeanNamespace()
          Get the targetNamespace of the fault bean.
 

Method Detail

getFaultBeanClassName

java.lang.String getFaultBeanClassName()
Get the class name of the fault bean for the FaultDescription. Note that the FaultBean may not be a bean. It can be a non-bean (i.e. String or int)

Algorithm: 1) The class defined on @WebFault of the exception 2) If not present or invalid, the class defined by getFaultInfo. 3) If not present, the class is found by looking for the a class named Bean in the interface's package. 4) If not present, the class is found by looking for the a class named Bean in the interface + jaxws package

Returns:

getFaultBeanLocalName

java.lang.String getFaultBeanLocalName()
Get the local name of the fault bean. Algorithm: 1) The name defined on the @WebFault of the exception. 2) If not present, the name defined via the @XmlRootElement of the fault bean class. 3) If not present, the Bean

Returns:
local name

getFaultBeanNamespace

java.lang.String getFaultBeanNamespace()
Get the targetNamespace of the fault bean. Algorithm: 1) The namespace defined on the

Returns:
local name


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