Skip navigation links
oracle.search.query.webservice.wssclient
Class OracleQueryService
java.lang.Object
javax.xml.ws.Service
oracle.search.query.webservice.wssclient.OracleQueryService
-
public class OracleQueryService
- extends javax.xml.ws.Service
The service implementation for the Query API Web Service with identity propagation. It is the main entry point to perform query operations. The service must be initialized using the Web Service WSDL URL and the fully qualified service name. Once the service is initialized, an OracleSearchPort
can be retrieved to perform query operations.
The WSDL is represented by a java.net.URL
and has the following format:
http://<sesHost>:<sesPort>/search/api/wss/query/OracleSearch
where sesHost
and sesPort
are the Oracle Secure Enterprise Search host and port.
The service name is represented by a javax.xml.namespace.QName
and must be initialized using the namespace URL "http://search.oracle.com/Query" and the local part "OracleQueryService".
For example, the following initializes an OracleQueryService
and retrieves an OracleSearchPort
:
OracleQueryService service = new OracleQueryService(
new java.net.URL( "http://localhost:8001/search/api/wss/query/OracleSearch" ),
new javax.xml.namespace.QName( "http://search.oracle.com/Query", "OracleQueryService" )
);
SecurityPolicyFeature[] securityFeature = new SecurityPolicyFeature[] {
new SecurityPolicyFeature("policy:oracle/wss10_saml_token_client_policy") };
OracleSearchPort port = service.getQuery(securityFeature);
Nested classes/interfaces inherited from class javax.xml.ws.Service |
javax.xml.ws.Service.Mode |
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 |
OracleQueryService
public OracleQueryService(URL wsdlLocation,
QName serviceName)
OracleQueryService
public OracleQueryService()
getQuery
@WebEndpoint(name="Query")
public OracleSearchPort getQuery()
-
- Returns:
- returns OracleSearchPort
getQuery
@WebEndpoint()
public OracleSearchPort getQuery(javax.xml.ws.WebServiceFeature[] features)
-
- Parameters:
features
- A list of WebServiceFeature
to configure on the proxy. Supported features not in the features
parameter will have their default values.
- Returns:
- returns OracleSearchPort
Skip navigation links
Copyright © 2006, 2016, Oracle and/or its affiliates. All rights reserved.