|
Java API Reference for Oracle Infrastructure Web Services 11 Release 1 (11.1.1) E10654-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
javax.xml.ws.Service
oracle.webservices.OracleService
public class OracleService
This class adds Oracle implementation specific features to the standard jaxws javax.xml.ws.Service
class. <p/> Additional features include
- Creating a Service
using a javax.wsdl.Definition to avoid parsing wsdl documents more than once.
- Creating an instance of a javax.xml.ws.Dispatch without a WSDL.
- Allowing a user to set HTTP connection properties to used when fetching a wsdl.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class javax.xml.ws.Service |
---|
javax.xml.ws.Service.Mode |
Constructor Summary | |
---|---|
OracleService(URL wsdlDocumentLocation, QName serviceName) The standard constructor for an OracleService |
|
OracleService(URL wsdlDocumentLocation, QName serviceName, Definition definition, ConnectionConfig connectionConfig) The constructor for an Oracle Service |
Method Summary | ||
---|---|---|
static
|
copyDispatch(javax.xml.ws.Dispatch<T> dispatch) This method copies all thread safe dispatch properties to a new instance of dispatch. |
|
static
|
createDispatch(Map<String,Object> requestContext, Class<T> type, javax.xml.ws.Service.Mode mode) Create a dispatch object without a wsdl document. |
|
static javax.xml.ws.Dispatch<SOAPMessage> |
createDispatch(QName serviceName, QName portName, String endpointAddress) Creates an instance of Dispatch<SOAPMessage> thru ServiceDelegateImpl |
|
static javax.xml.ws.Dispatch<SOAPMessage> |
createDispatch(QName serviceName, QName portName, String endpointAddress, boolean soap11) Creates an instance of Dispatch<SOAPMessage> thru ServiceDelegateImpl |
|
static
|
createDispatch(QName serviceName, QName portName, String endpointAddress, String soapBindingId, Class<T> type, javax.xml.ws.Service.Mode mode) Creates an instance of Dispatch<SOAPMessage> thru ServiceDelegateImpl |
|
static javax.xml.ws.Dispatch<SOAPMessage> |
createDispatch(String endpointAddress) Creates an instance of Dispatch<SOAPMessage> without a wsdl document. |
|
ConnectionConfig |
getConnectionConfig() The connection configuration for this service. |
|
Definition |
getDefinition() The wsdl definition associated with this service. |
Methods inherited from class javax.xml.ws.Service |
---|
addPort, create, create, createDispatch, createDispatch, createDispatch, createDispatch, createDispatch, createDispatch, getExecutor, getHandlerResolver, getPort, getPort, getPort, getPort, getPort, getPorts, getServiceName, getWSDLDocumentLocation, setExecutor, setHandlerResolver |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OracleService(URL wsdlDocumentLocation, QName serviceName)
wsdlDocumentLocation
- The location of the wsdl document.serviceName
- A service name in the wsdl document.public OracleService(URL wsdlDocumentLocation, QName serviceName, Definition definition, ConnectionConfig connectionConfig)
wsdlDocumentLocation
- The location of the wsdl document.serviceName
- A service name in the wsdl document, if null the first service in the wsdl will be used.definition
- The definition for the wsdl document, if null then the wsdlDocumentLocation will be used to create a definition, if not null then the wsdl document location will not be parsed.connectionConfig
- The connection configuration used when creating the a definition from the wsdlDocumentLocation. This parameter can be null.Method Detail |
---|
public static <T> javax.xml.ws.Dispatch<T> createDispatch(Map<String,Object> requestContext, Class<T> type, javax.xml.ws.Service.Mode mode)
requestContext
- A map of properties to use for this dispatch object. A property with the name of BindingProvider.ENDPOINT_ADDRESS_PROPERTY must be set in the request context before calling any of the invoke methods on the returned Dispatch instance.type
- The type used for messages, supported types include javax.xml.transform.Source and javax.xml.soap.SOAPMessagemode
- The orientation of the dispatch. MESSAGE provides access to the entire protocol message, PAYLOAD to protocol message payload only.public static javax.xml.ws.Dispatch<SOAPMessage> createDispatch(String endpointAddress)
endpointAddress
- The endpoint address of the service for example, http://host/ws/servicepublic static javax.xml.ws.Dispatch<SOAPMessage> createDispatch(QName serviceName, QName portName, String endpointAddress)
serviceName
- The service QName to create ServiceDelegateImplportName
- The port QName to create dispatchendpointAddress
- The service endpointAddresspublic static javax.xml.ws.Dispatch<SOAPMessage> createDispatch(QName serviceName, QName portName, String endpointAddress, boolean soap11)
serviceName
- The service QName to create ServiceDelegateImplportName
- The port QName to create dispatchendpointAddress
- The service endpointAddresssoap11
- The flag true for SOAPBinding.SOAP11HTTP_BINDING or SOAPBinding.SOAP12HTTP_BINDINGpublic static <T> javax.xml.ws.Dispatch<T> createDispatch(QName serviceName, QName portName, String endpointAddress, String soapBindingId, Class<T> type, javax.xml.ws.Service.Mode mode)
serviceName
- The service QName to create ServiceDelegateImplportName
- The port QName to create dispatchendpointAddress
- The service endpointAddresstype
- The type used for messages, supported types include javax.xml.transform.Source and javax.xml.soap.SOAPMessagemode
- The orientation of the dispatch. MESSAGE providespublic static <T> javax.xml.ws.Dispatch<T> copyDispatch(javax.xml.ws.Dispatch<T> dispatch) throws javax.xml.ws.WebServiceException
dispatch
- The dispatch to copy from.javax.xml.ws.WebServiceException
- if the dispatch parameter was not created from the oracle implementation of jaxws.public Definition getDefinition()
public ConnectionConfig getConnectionConfig()
|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |