public class WebServiceConnectionConfig
extends java.lang.Object
implements javax.naming.Referenceable, oracle.webservices.mdds.MddsErrorHandler
| Modifier and Type | Field and Description |
|---|---|
protected javax.xml.namespace.QName |
defaultServiceName |
protected oracle.webservices.model.Factory |
mddsFactory |
protected oracle.webservices.model.Model |
model |
protected java.lang.String |
wsdlStr |
| Constructor and Description |
|---|
WebServiceConnectionConfig() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addPolicyExtensions(oracle.webservices.model.Component modelComponent, java.util.List availableExtensibilityElements) |
oracle.webservices.model.Service |
addService(javax.xml.namespace.QName serviceQName) |
void |
deserializeConnectionWithCredentials(Element metadata, java.util.Properties credentials) |
void |
failedToModelOperation(oracle.webservices.model.Operation operation, java.lang.String reason, java.lang.String detail) |
void |
failedToModelPort(oracle.webservices.model.Port port, java.lang.String reason, java.lang.String detail) |
javax.xml.namespace.QName |
getDefaultServiceName() |
oracle.webservices.model.Model |
getModel() |
Element |
getModelElement() |
javax.naming.Reference |
getReference()
Build a reference from this instance.
|
java.net.URL |
getWsdlUrl() |
java.lang.String |
getWsdlUrlStr() |
void |
removeService(javax.xml.namespace.QName serviceQName) |
void |
setDefaultServiceName(javax.xml.namespace.QName defaultServiceQName) |
void |
setModelElement(Element modelElement)
Construct the model instance from xml element <model>.
|
void |
setReference(javax.naming.Reference reference)
Construct an instance from xml element <wsconnection>.
|
void |
setWsdlUrl(java.net.URL wsdlUrl) |
void |
setWsdlUrlStr(java.lang.String wsdlUrl) |
protected oracle.webservices.model.Factory mddsFactory
protected java.lang.String wsdlStr
protected oracle.webservices.model.Model model
protected javax.xml.namespace.QName defaultServiceName
public WebServiceConnectionConfig()
throws java.lang.IllegalAccessException,
java.lang.InstantiationException,
java.lang.ClassNotFoundException
java.lang.IllegalAccessExceptionjava.lang.InstantiationExceptionjava.lang.ClassNotFoundExceptionpublic java.net.URL getWsdlUrl()
public java.lang.String getWsdlUrlStr()
public void setWsdlUrl(java.net.URL wsdlUrl)
public void setWsdlUrlStr(java.lang.String wsdlUrl)
public javax.xml.namespace.QName getDefaultServiceName()
public void setDefaultServiceName(javax.xml.namespace.QName defaultServiceQName)
public oracle.webservices.model.Model getModel()
public Element getModelElement() throws javax.xml.parsers.ParserConfigurationException, oracle.webservices.model.SerializationException
javax.xml.parsers.ParserConfigurationExceptionoracle.webservices.model.SerializationExceptionpublic void setModelElement(Element modelElement) throws oracle.webservices.model.SerializationException
modelElement - The xml element <model>oracle.webservices.model.SerializationException
public void setReference(javax.naming.Reference reference)
throws oracle.webservices.model.SerializationException
metadata - Thecredentials -oracle.webservices.model.SerializationExceptionpublic void deserializeConnectionWithCredentials(Element metadata, java.util.Properties credentials) throws oracle.webservices.model.SerializationException
oracle.webservices.model.SerializationException
public javax.naming.Reference getReference()
throws javax.naming.NamingException
getReference in interface javax.naming.Referenceablejavax.naming.NamingException
public oracle.webservices.model.Service addService(javax.xml.namespace.QName serviceQName)
throws java.lang.Exception
java.lang.Exception
public void removeService(javax.xml.namespace.QName serviceQName)
throws java.lang.Exception
java.lang.Exception
public void failedToModelPort(oracle.webservices.model.Port port,
java.lang.String reason,
java.lang.String detail)
throws oracle.webservices.mdds.MddsException
failedToModelPort in interface oracle.webservices.mdds.MddsErrorHandleroracle.webservices.mdds.MddsException
public void failedToModelOperation(oracle.webservices.model.Operation operation,
java.lang.String reason,
java.lang.String detail)
throws oracle.webservices.mdds.MddsException
failedToModelOperation in interface oracle.webservices.mdds.MddsErrorHandleroracle.webservices.mdds.MddsException
protected void addPolicyExtensions(oracle.webservices.model.Component modelComponent,
java.util.List availableExtensibilityElements)