|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 2 (11.1.2.3.0) E17483-04 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.adfinternal.model.adapter.webservice.WSModel
public class WSModel
WSModel provides the design time model for the webservice data control.
The WSModel handles the nuances of parsing a WSDL at design time and extracting information that is needed by the Data control design time to generate the metadata.
The webservice operations are abstracted as WSOperation
, which is the design time representation of a webservice operation containing all that information needed for metadata generation.
WSOperation
Constructor Summary | |
---|---|
WSModel(javax.wsdl.Definition def) Instantiate this Data control Model with a WSDL definition. |
|
WSModel(oracle.webservices.model.Model model) Instantiate this Data control model with a associated MDDS model |
|
WSModel(java.net.URL wsdlURL) Create an instance of the WSDL model from the WSDL URL. |
|
WSModel(java.net.URL wsdlURL, oracle.webservices.model.Model model) Instantiate this Data control model with a associated MDDS model |
Method Summary | |
---|---|
javax.xml.namespace.QName |
getDefaultServiceName() Get the default service name for this model. |
java.lang.String |
getEndpointURL(javax.xml.namespace.QName serviceName, java.lang.String portName) Returns the end point for a given service and a port. |
oracle.webservices.model.Operation |
getOperation(javax.xml.namespace.QName serviceName, java.lang.String portName, java.lang.String operationName) Gets the operation for a given combination of service name, port name and operation name. |
java.util.Iterator |
getPortOperations(javax.xml.namespace.QName serviceName, java.lang.String portName) Get a list of all the operations that can be invoked for a particular port. |
oracle.webservices.model.Service |
getService(javax.xml.namespace.QName serviceName) Gets the service from a service name. |
java.util.Map |
getServiceOperations(javax.xml.namespace.QName serviceName) Get a look up table for all the operations for a particular service. |
java.util.List |
getServicePorts(javax.xml.namespace.QName serviceName) Gets the ports given a serivce name. |
java.util.Iterator |
getServices() Gets the services described by this Model. |
javax.wsdl.Definition |
getWSDLDefinition() |
boolean |
isMinimalModel(oracle.webservices.model.Model model) Returns true if the connection is created with the minimal model. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WSModel(java.net.URL wsdlURL) throws AdapterException
{@link
- AdapterException} if the initialization of the model fails.AdapterException
public WSModel(oracle.webservices.model.Model model)
{@link
- Model} The MDDS
model to create the data control.public WSModel(javax.wsdl.Definition def) throws AdapterException
def
- the WSDL definition obtained after parsing the WSDL URLAdapterException
public WSModel(java.net.URL wsdlURL, oracle.webservices.model.Model model) throws AdapterException
model
- The MDDS
model to create the data control.AdapterException
Method Detail |
---|
public java.util.Iterator getServices()
Iterator
of services published.public oracle.webservices.model.Service getService(javax.xml.namespace.QName serviceName)
serviceName
- anem of the service to get.public java.util.List getServicePorts(javax.xml.namespace.QName serviceName)
Port
is a collection of webservice operations.Service
- name for which the portlist is desired.public java.util.Map getServiceOperations(javax.xml.namespace.QName serviceName)
{@link
- QName} service name for which the operations are desired.public java.lang.String getEndpointURL(javax.xml.namespace.QName serviceName, java.lang.String portName)
public javax.xml.namespace.QName getDefaultServiceName()
QName
default service name.public java.util.Iterator getPortOperations(javax.xml.namespace.QName serviceName, java.lang.String portName)
WSOperation
. The WSOperation
abstracts a webservice operation encapsulating all the design time information needed for a particular operation.portName
- name of the port for which the operation list is to be retrieved.public oracle.webservices.model.Operation getOperation(javax.xml.namespace.QName serviceName, java.lang.String portName, java.lang.String operationName)
public javax.wsdl.Definition getWSDLDefinition() throws AdapterException
AdapterException
public boolean isMinimalModel(oracle.webservices.model.Model model)
model
-
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 2 (11.1.2.3.0) E17483-04 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |