public class WebServiceConnectionImpl extends WebServiceConnectionConfig implements WebServiceConnection
defaultServiceName, mddsFactory, model, wsdlStr
Constructor and Description |
---|
WebServiceConnectionImpl(javax.naming.Name name,
javax.naming.Reference reference)
Construct a WebServiceConnectionImpl instance from xml element.
|
WebServiceConnectionImpl(javax.naming.Name name,
java.net.URL wsdl,
oracle.j2ee.ws.wsdl.conn.ConnectionConfig config,
oracle.webservices.model.Model model,
javax.wsdl.Definition definition,
javax.xml.namespace.QName service)
Not to be used by end user.
|
WebServiceConnectionImpl(javax.naming.Name name,
java.net.URL wsdl,
oracle.j2ee.ws.wsdl.conn.ConnectionConfig config,
oracle.webservices.model.Model model,
javax.wsdl.Definition definition,
javax.xml.namespace.QName service,
boolean minimalModel) |
WebServiceConnectionImpl(javax.naming.Name name,
java.net.URL wsdl,
oracle.j2ee.ws.wsdl.conn.ConnectionConfig config,
oracle.webservices.model.Model model,
javax.wsdl.Definition definition,
javax.xml.namespace.QName service,
boolean minimalModel,
boolean withAllImportServices) |
WebServiceConnectionImpl(javax.naming.Name name,
java.net.URL wsdl,
oracle.j2ee.ws.wsdl.conn.ConnectionConfig config,
oracle.webservices.model.Model model,
javax.wsdl.Definition definition,
javax.xml.namespace.QName service,
boolean minimalModel,
boolean withAllImportServices,
boolean withSvcAdvPolicy)
Not to be used by end user.
|
Modifier and Type | Method and Description |
---|---|
void |
cleanup() |
void |
close() |
java.lang.String |
dumpString() |
oracle.webservices.model.Service |
getDefaultService() |
JaxRpcInteraction |
getJaxRpcInteraction(oracle.webservices.model.Port port) |
JaxRpcInteraction |
getJaxRpcInteraction(javax.xml.namespace.QName serviceQName,
javax.xml.namespace.QName bindingQName) |
JaxRpcInteraction |
getJaxRpcInteraction(javax.xml.namespace.QName serviceQName,
java.lang.String protocol) |
<T> T |
getJaxWSPort(java.lang.Class<T> sei)
Gets a JAX-WS proxy to invoke operations on the target service endpoint.
|
javax.naming.Name |
getJndiName() |
oracle.wsm.policy.model.IPolicy |
getPolicy(java.lang.String policyUri) |
SaajInteraction |
getSaajInteraction(oracle.webservices.model.Operation operation) |
void |
setDefaultService(javax.xml.namespace.QName defaultServiceQName) |
addPolicyExtensions, addService, deserializeConnectionWithCredentials, failedToModelOperation, failedToModelPort, getDefaultServiceName, getModel, getModelElement, getReference, getWsdlUrl, getWsdlUrlStr, removeService, setDefaultServiceName, setModelElement, setReference, setWsdlUrl, setWsdlUrlStr
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getModel, getWsdlUrl, getWsdlUrlStr
public WebServiceConnectionImpl(javax.naming.Name name, java.net.URL wsdl, oracle.j2ee.ws.wsdl.conn.ConnectionConfig config, oracle.webservices.model.Model model, javax.wsdl.Definition definition, javax.xml.namespace.QName service) throws oracle.webservices.model.SerializationException, java.lang.IllegalAccessException, java.lang.InstantiationException, java.lang.ClassNotFoundException
name
- wsdl
- config
- model
- definition
- service
- oracle.webservices.model.SerializationException
java.lang.IllegalAccessException
java.lang.InstantiationException
java.lang.ClassNotFoundException
public WebServiceConnectionImpl(javax.naming.Name name, java.net.URL wsdl, oracle.j2ee.ws.wsdl.conn.ConnectionConfig config, oracle.webservices.model.Model model, javax.wsdl.Definition definition, javax.xml.namespace.QName service, boolean minimalModel) throws oracle.webservices.model.SerializationException, java.lang.IllegalAccessException, java.lang.InstantiationException, java.lang.ClassNotFoundException
oracle.webservices.model.SerializationException
java.lang.IllegalAccessException
java.lang.InstantiationException
java.lang.ClassNotFoundException
public WebServiceConnectionImpl(javax.naming.Name name, java.net.URL wsdl, oracle.j2ee.ws.wsdl.conn.ConnectionConfig config, oracle.webservices.model.Model model, javax.wsdl.Definition definition, javax.xml.namespace.QName service, boolean minimalModel, boolean withAllImportServices) throws oracle.webservices.model.SerializationException, java.lang.IllegalAccessException, java.lang.InstantiationException, java.lang.ClassNotFoundException
oracle.webservices.model.SerializationException
java.lang.IllegalAccessException
java.lang.InstantiationException
java.lang.ClassNotFoundException
public WebServiceConnectionImpl(javax.naming.Name name, java.net.URL wsdl, oracle.j2ee.ws.wsdl.conn.ConnectionConfig config, oracle.webservices.model.Model model, javax.wsdl.Definition definition, javax.xml.namespace.QName service, boolean minimalModel, boolean withAllImportServices, boolean withSvcAdvPolicy) throws oracle.webservices.model.SerializationException, java.lang.IllegalAccessException, java.lang.InstantiationException, java.lang.ClassNotFoundException
name
- wsdl
- config
- model
- definition
- service
- minimalModel
- true, build mdds model with only service/port/operation info; false, full mdds model.withAllImportServices
- true, and also minimalModel is true, then get and include all WSDL import services.withSvcAdvPolicy
- true, in minimal model with service advertised policyoracle.webservices.model.SerializationException
java.lang.IllegalAccessException
java.lang.InstantiationException
java.lang.ClassNotFoundException
public WebServiceConnectionImpl(javax.naming.Name name, javax.naming.Reference reference) throws oracle.webservices.model.SerializationException, java.lang.IllegalAccessException, java.lang.InstantiationException, java.lang.ClassNotFoundException
name
- metadata
- The xml elementcredentials
- oracle.webservices.model.SerializationException
java.lang.ClassNotFoundException
java.lang.InstantiationException
java.lang.IllegalAccessException
public javax.naming.Name getJndiName()
getJndiName
in interface WebServiceConnection
public oracle.webservices.model.Service getDefaultService()
getDefaultService
in interface WebServiceConnection
public void setDefaultService(javax.xml.namespace.QName defaultServiceQName)
setDefaultService
in interface WebServiceConnection
public SaajInteraction getSaajInteraction(oracle.webservices.model.Operation operation)
getSaajInteraction
in interface WebServiceConnection
public JaxRpcInteraction getJaxRpcInteraction(oracle.webservices.model.Port port)
getJaxRpcInteraction
in interface WebServiceConnection
public JaxRpcInteraction getJaxRpcInteraction(javax.xml.namespace.QName serviceQName, javax.xml.namespace.QName bindingQName)
getJaxRpcInteraction
in interface WebServiceConnection
public JaxRpcInteraction getJaxRpcInteraction(javax.xml.namespace.QName serviceQName, java.lang.String protocol)
public oracle.wsm.policy.model.IPolicy getPolicy(java.lang.String policyUri)
public void close()
public <T> T getJaxWSPort(java.lang.Class<T> sei)
WebServiceConnection
getJaxWSPort
in interface WebServiceConnection
sei
- The service endpoint interface for a port on the servicepublic void cleanup()
cleanup
in interface WebServiceConnection
public java.lang.String dumpString()