oracle.adf.model.connection.webservice.impl
Class WebServiceConnectionImpl
java.lang.Object
  
oracle.adf.model.connection.webservice.impl.WebServiceConnectionConfig
      
oracle.adf.model.connection.webservice.impl.WebServiceConnectionImpl
- All Implemented Interfaces: 
 - javax.naming.Referenceable, WebServiceConnection, oracle.webservices.mdds.MddsErrorHandler
 
public class WebServiceConnectionImpl
- extends WebServiceConnectionConfig
- implements WebServiceConnection
  
 
 
| Fields inherited from interface oracle.webservices.mdds.MddsErrorHandler | 
REASON_INTERNAL_ERROR, REASON_INVALID_WSDL, REASON_NOT_SUPPORTED, REASON_UNKNOWN | 
 
| 
Constructor Summary | 
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)
 
          Not to be used by end user. | 
 
 
| Methods inherited from class oracle.adf.model.connection.webservice.impl.WebServiceConnectionConfig | 
addService, deserializeConnectionWithCredentials, failedToModelOperation, failedToModelPort, getDefaultServiceName, getModel, getModelElement, getReference, getWsdlUrl, removeService, setDefaultServiceName, setModelElement, setReference, setWsdlUrl | 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
 
| Methods inherited from interface javax.naming.Referenceable | 
getReference | 
 
WebServiceConnectionImpl
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
- Not to be used by end user.  The only caller should be webServiceConnectionFactory.new Instance(). 
 When this constructor is used, it will build a full mdds model from the wsdl.
- Parameters:
 name - wsdl - config - model - definition - service - 
- Throws:
 oracle.webservices.model.SerializationException
java.lang.IllegalAccessException
java.lang.InstantiationException
java.lang.ClassNotFoundException
 
WebServiceConnectionImpl
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
- Throws:
 oracle.webservices.model.SerializationException
java.lang.IllegalAccessException
java.lang.InstantiationException
java.lang.ClassNotFoundException
WebServiceConnectionImpl
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
- Not to be used by end user.  The only caller should be webServiceConnectionFactory.new Instance().
- Parameters:
 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.
- Throws:
 oracle.webservices.model.SerializationException
java.lang.IllegalAccessException
java.lang.InstantiationException
java.lang.ClassNotFoundException
 
WebServiceConnectionImpl
public WebServiceConnectionImpl(javax.naming.Name name,
                                javax.naming.Reference reference)
                         throws oracle.webservices.model.SerializationException,
                                java.lang.IllegalAccessException,
                                java.lang.InstantiationException,
                                java.lang.ClassNotFoundException
- Construct a WebServiceConnectionImpl instance from xml element.
 The Properties credentials contains the mapping of the sensitive information 
 and associated uuid used in the xml element.
- Parameters:
 name - metadata - The xml elementcredentials - 
- Throws:
 oracle.webservices.model.SerializationException
java.lang.ClassNotFoundException
java.lang.InstantiationException
java.lang.IllegalAccessException
 
getJndiName
public javax.naming.Name getJndiName()
- Specified by:
 getJndiName in interface WebServiceConnection
 
 
getDefaultService
public oracle.webservices.model.Service getDefaultService()
- Specified by:
 getDefaultService in interface WebServiceConnection
 
 
setDefaultService
public void setDefaultService(javax.xml.namespace.QName defaultServiceQName)
- Specified by:
 setDefaultService in interface WebServiceConnection
 
 
getSaajInteraction
public SaajInteraction getSaajInteraction(oracle.webservices.model.Operation operation)
- Specified by:
 getSaajInteraction in interface WebServiceConnection
 
 
getJaxRpcInteraction
public JaxRpcInteraction getJaxRpcInteraction(oracle.webservices.model.Port port)
- Specified by:
 getJaxRpcInteraction in interface WebServiceConnection
 
 
getJaxRpcInteraction
public JaxRpcInteraction getJaxRpcInteraction(javax.xml.namespace.QName serviceQName,
                                              javax.xml.namespace.QName bindingQName)
- Specified by:
 getJaxRpcInteraction in interface WebServiceConnection
 
 
getJaxRpcInteraction
public JaxRpcInteraction getJaxRpcInteraction(javax.xml.namespace.QName serviceQName,
                                              java.lang.String protocol)
 
 
getPolicy
public oracle.wsm.policy.model.IPolicy getPolicy(java.lang.String policyUri)
 
 
close
public void close()
 
 
getJaxWSPort
public <T> T getJaxWSPort(java.lang.Class<T> sei)
- Description copied from interface: 
WebServiceConnection 
- Gets a JAX-WS proxy to invoke operations on the target service endpoint.
- Specified by:
 getJaxWSPort in interface WebServiceConnection
 
- Parameters:
 sei - The service endpoint interface for a port on the service
- Returns:
 - Proxy instance that supports the specified service endpoint
          interface
 
 
 
cleanup
public void cleanup()
- Specified by:
 cleanup in interface WebServiceConnection
 
 
Copyright © 1997, 2011, Oracle. All rights reserved.