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
 java.lang.String faultBean
          Fault bean name.
 java.lang.String messageName
          wsdl:Message's name.
 java.lang.String name
          Element's local name.
 java.lang.String targetNamespace
          Element's namespace name.
 

name

public abstract java.lang.String name
Element's local name.

Default:
""

targetNamespace

public abstract java.lang.String targetNamespace
Element's namespace name.

Default:
""

faultBean

public abstract java.lang.String faultBean
Fault bean name.

Default:
""

messageName

public abstract java.lang.String messageName
wsdl:Message's name. Default name is the exception's class name.

Since:
JAX-WS 2.2
Default:
""


Submit a bug or feature

Copyright © 2009, 2010, Oracle Corporation and/or its affiliates. All Rights Reserved. Use is subject to license terms.

Generated on 4-June-2010 04:34