oracle.adf.model.connection.webservice.impl
Class WebServiceConnectionConfig
java.lang.Object
  
oracle.adf.model.connection.webservice.impl.WebServiceConnectionConfig
- All Implemented Interfaces: 
 - javax.naming.Referenceable, oracle.webservices.mdds.MddsErrorHandler
 
- Direct Known Subclasses: 
 - WebServiceConnectionImpl
 
public class WebServiceConnectionConfig
- extends java.lang.Object
- implements javax.naming.Referenceable, oracle.webservices.mdds.MddsErrorHandler
  
| 
Field Summary | 
protected  javax.xml.namespace.QName | 
defaultServiceName
 
            | 
protected  oracle.webservices.model.Factory | 
mddsFactory
 
            | 
protected  oracle.webservices.model.Model | 
model
 
            | 
protected  java.lang.String | 
wsdlStr
 
            | 
 
| Fields inherited from interface oracle.webservices.mdds.MddsErrorHandler | 
REASON_INTERNAL_ERROR, REASON_INVALID_WSDL, REASON_NOT_SUPPORTED, REASON_UNKNOWN | 
 
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
mddsFactory
protected oracle.webservices.model.Factory mddsFactory
wsdlStr
protected java.lang.String wsdlStr
model
protected oracle.webservices.model.Model model
defaultServiceName
protected javax.xml.namespace.QName defaultServiceName
WebServiceConnectionConfig
public WebServiceConnectionConfig()
                           throws java.lang.IllegalAccessException,
                                  java.lang.InstantiationException,
                                  java.lang.ClassNotFoundException
- Throws:
 java.lang.IllegalAccessException
java.lang.InstantiationException
java.lang.ClassNotFoundException
getWsdlUrl
public java.net.URL getWsdlUrl()
 
 
getWsdlUrlStr
public java.lang.String getWsdlUrlStr()
 
 
setWsdlUrl
public void setWsdlUrl(java.net.URL wsdlUrl)
 
 
setWsdlUrlStr
public void setWsdlUrlStr(java.lang.String wsdlUrl)
 
 
getDefaultServiceName
public javax.xml.namespace.QName getDefaultServiceName()
 
 
setDefaultServiceName
public void setDefaultServiceName(javax.xml.namespace.QName defaultServiceQName)
 
 
getModel
public oracle.webservices.model.Model getModel()
 
 
getModelElement
public Element getModelElement()
                        throws javax.xml.parsers.ParserConfigurationException,
                               oracle.webservices.model.SerializationException
 
- Throws:
 javax.xml.parsers.ParserConfigurationException
oracle.webservices.model.SerializationException
 
setModelElement
public void setModelElement(Element modelElement)
                     throws oracle.webservices.model.SerializationException
- Construct the model instance from xml element .
 
- Parameters:
 modelElement - The xml element 
- Throws:
 oracle.webservices.model.SerializationException
 
 
setReference
public void setReference(javax.naming.Reference reference)
                  throws oracle.webservices.model.SerializationException
- Construct an instance from xml element .
 The Properties credentials contains the mapping of the sensitive information 
 and associated human-readable name used in the xml element.
 
- Parameters:
 metadata - Thecredentials - 
- Throws:
 oracle.webservices.model.SerializationException
 
 
deserializeConnectionWithCredentials
public void deserializeConnectionWithCredentials(Element metadata,
                                                 java.util.Properties credentials)
                                          throws oracle.webservices.model.SerializationException
 
- Throws:
 oracle.webservices.model.SerializationException
 
getReference
public javax.naming.Reference getReference()
                                    throws javax.naming.NamingException
- Build a reference from this instance.  It conatins an xml element representing the connection.
 The sensitive information is extracted out and replaced with uuid.  And mapping between the uuid
 and associated information is also included in the reference.
- Specified by:
 getReference in interface javax.naming.Referenceable
 
- Throws:
 javax.naming.NamingException
 
 
addService
public oracle.webservices.model.Service addService(javax.xml.namespace.QName serviceQName)
                                            throws java.lang.Exception
 
- Throws:
 java.lang.Exception
 
removeService
public void removeService(javax.xml.namespace.QName serviceQName)
                   throws java.lang.Exception
 
- Throws:
 java.lang.Exception
 
failedToModelPort
public void failedToModelPort(oracle.webservices.model.Port port,
                              java.lang.String reason,
                              java.lang.String detail)
                       throws oracle.webservices.mdds.MddsException
- Specified by:
 failedToModelPort in interface oracle.webservices.mdds.MddsErrorHandler
 
- Throws:
 oracle.webservices.mdds.MddsException
 
failedToModelOperation
public void failedToModelOperation(oracle.webservices.model.Operation operation,
                                   java.lang.String reason,
                                   java.lang.String detail)
                            throws oracle.webservices.mdds.MddsException
- Specified by:
 failedToModelOperation in interface oracle.webservices.mdds.MddsErrorHandler
 
- Throws:
 oracle.webservices.mdds.MddsException
 
Copyright © 1997, 2013, Oracle. All rights reserved.