Java™ Platform
Standard Ed. 6

javax.xml.ws
Annotation Type BindingType


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

The BindingType annotation is used to specify the binding to use for a web service endpoint implementation class.

This annotation may be overriden programmatically or via deployment descriptors, depending on the platform in use.

Since:
JAX-WS 2.0

Optional Element Summary
 String value
          A binding identifier (a URI).
 

value

public abstract String value
A binding identifier (a URI). If not specified, the default is the SOAP 1.1 / HTTP binding.

See the SOAPBinding and HTTPBinding for the definition of the standard binding identifiers.

See Also:
Binding, SOAPBinding.SOAP11HTTP_BINDING, SOAPBinding.SOAP12HTTP_BINDING, HTTPBinding.HTTP_BINDING
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 2009 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.