Java™ Platform
Standard Ed. 6

javax.xml.ws
Annotation Type FaultAction


@Documented
@Retention(value=RUNTIME)
@Target(value=METHOD)
public @interface FaultAction

The FaultAction annotation is used inside an Action annotation to allow an explicit association of a WS-Addressing Action message addressing property with the fault messages of the WSDL operation mapped from the exception class.

In this version of JAX-WS there is no standard way to specify Action values in a WSDL and there is no standard default value. It is intended that, after the W3C WG on WS-Addressing has defined these items in a recommendation, a future version of JAX-WS will require the new standards.

Since:
JAX-WS 2.1
See Also:
Action

Required Element Summary
 Class className
          Name of the exception class
 
Optional Element Summary
 String value
          Value of WS-Addressing Action message addressing property for the exception
 

Element Detail

className

public abstract Class className
Name of the exception class

value

public abstract String value
Value of WS-Addressing Action message addressing property for the exception

Default:
""

Java™ Platform
Standard Ed. 6

Submit a bug or feature
For further API reference and developer documentation, see Java SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright © 1993, 2011, Oracle and/or its affiliates. All rights reserved.