Please note that this documentation is not final and is subject to change.

Java™ Platform
Standard Ed. 7

DRAFT ea-b89

javax.xml.ws
Annotation Type WebFault


@Target(value=TYPE)
@Retention(value=RUNTIME)
@Documented
public @interface WebFault

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:
JAX-WS 2.0

Optional Element Summary
Modifier and Type Optional Element and Description
 String faultBean
          Fault bean name.
 String name
          Element's local name.
 String targetNamespace
          Element's namespace name.
 

name

public abstract String name
Element's local name.

Default:
""

targetNamespace

public abstract String targetNamespace
Element's namespace name.

Default:
""

faultBean

public abstract String faultBean
Fault bean name.

Default:
""

Java™ Platform
Standard Ed. 7

DRAFT ea-b89

Submit a bug or feature

Copyright 2010 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms.