Top Description Methods
javax.xml.ws

public @Interface WebFault

extends Annotation
Annotations
@Target:TYPE
@Retention:RUNTIME
@Documented
Imports
java.lang.annotation.Documented, .Target, .Retention, .ElementType, .RetentionPolicy

Used to annotate service specific exception classes to customize to the local and namespace name of the fault element and the name of the fault bean.
Since
1.6, JAX-WS 2.0

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

bean name
faultBean
()

Fault bean name.

public String

Returns:

wsdl:Message's name
messageName
()

wsdl:Message's name.

public String

Returns:

loxL name
name
()

Element's local name.

public String

Returns:

target namespace name
targetNamespace
()

Element's namespace name.

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString

Method Detail

faultBeanback to summary
public String faultBean()

Fault bean name.

Returns:String

bean name

messageNameback to summary
public String messageName()

wsdl:Message's name. Default name is the exception's class name.

Returns:String

wsdl:Message's name

Since
1.7, JAX-WS 2.2
nameback to summary
public String name()

Element's local name.

Returns:String

loxL name

targetNamespaceback to summary
public String targetNamespace()

Element's namespace name.

Returns:String

target namespace name