JAX-WS 2.0 Annotations (JSR 224)
The JSR 224 specification defines annotations for JAX-WS 2.0.
Name: | Description: | Properties: | Definitions: |
---|---|---|---|
@BindingType | This annotation specifies which binding to use
when you publish an endpoint of this type. If the annotation is not
specified, the default value is SOAP11_HTTP_BINDING. You can apply this annotation to a JavaBeans implementation class for a service endpoint that is based on the Service Endpoint Interface or the Provider interface. Important: Use the @BindingType annotation on the JavaBeans endpoint implementation class to enable Message Transmission Optimization Mechanism (MTOM), by specifying either SOAP11_HTTP_MTOM_BINDING or SOAP12_HTTP_MTOM_BINDING as the value for the annotation. |
|
|
@RequestWrapper | This annotation supplies the JAXB generated
request wrapper bean, the element name, and the namespace for serialization
and deserialization with the request wrapper bean that is used at
runtime. When your start with a Java object, this element is used to resolve overloading conflicts in document literal mode. Only the className attribute is required in this case. This annotation can be applied to methods in a client or server Service Endpoint Interface (SEI), or in a service endpoint implementation class for a JavaBeans endpoint. |
|
|
@ResponseWrapper | This annotation supplies the JAXB-generated
response wrapper bean, the element name, and the namespace for serialization
and deserialization with the response wrapper bean that is used at
run time. When your start with a Java object, use this element to resolve overloading conflicts while in document literal mode. Only the className attribute is required in this case. You can apply this annotation to methods in a client or server Service Endpoint Interface (SEI), or in a service endpoint implementation class for a Java beans endpoint. |
|
|
@ServiceMode | This annotation specifies whether a service
provider must have access to an entire message protocol or just to
the message payload. Important: The @ServiceMode annotation
is only supported on classes that have the @WebServiceProvider annotation.
|
|
|
@WebFault | This annotation maps WSDL faults to Java exceptions. Use this annotation to capture
the name of the fault; this capturing occurs during serialization
of the JAXB type that is generated from a global element that is referred
to by a WSDL fault message. You can also use this annotation to customize
the mapping of service-specific exceptions to WSDL faults. You can apply this annotation to a fault implementation class. |
|
|