Skip navigation links

Java API Reference for Oracle Infrastructure Web Services
11
Release 1 (11.1.1)

E10654-02


oracle.webservices.annotations
Annotation Type Deployment


@Retention(value=RUNTIME)
@Target(value=TYPE)
public @interface Deployment

The Deployment annotation provides additional Oracle specific deployment information for an annotated Web service.

Since:
10.1.3.0

Optional Element Summary
 String contextPath
          The context path of the web service endpoint.
 String portName
          Deprecated. Please use @WebService.portName instead. The port name that is used to reference the web service endpoint in a url. The portName is appended to the uriPath to form a complete URL for the service endpoint.
 boolean restSupport
          Deprecated. Please use @BindingType(javax.xml.ws.http.HTTPBinding.HTTP_BINDING) instead. An optional flag to determine if this web service supports REST.
 String uriPath
          An optional path that is appended to the context path.

 

contextPath

public abstract String contextPath
The context path of the web service endpoint. For example http://my.server.com/context/path The context in this example can be "context" (in which case "path" will be a uri path) or "context/path". The starting slash ("/") is optional. Note that server and protocol specefics must not be specified. The contextPath annotation property is only supported for EJB webservices.
Default:
""

uriPath

public abstract String uriPath
An optional path that is appended to the context path. For example if the contextPath is "context/path" and the uriPath is "uri" then an endpoint may be referenced using http://my.server.com/context/path/uri.
Default:
""

portName

public abstract String portName
Deprecated. Please use @WebService.portName instead. The port name that is used to reference the web service endpoint in a url. The portName is appended to the uriPath to form a complete URL for the service endpoint.
Default:
""

restSupport

public abstract boolean restSupport
Deprecated. Please use @BindingType(javax.xml.ws.http.HTTPBinding.HTTP_BINDING) instead. An optional flag to determine if this web service supports REST.
Default:
false

Skip navigation links

Copyright © 2006, 2009 Oracle. All Rights Reserved.