org.obe.client.api.repository
Class WebServiceMetaData
java.lang.Object
org.obe.client.api.repository.AbstractMetaData
org.obe.client.api.repository.ToolAgentMetaData
org.obe.client.api.repository.WebServiceMetaData
- All Implemented Interfaces:
- java.io.Serializable
- public final class WebServiceMetaData
- extends ToolAgentMetaData
Describes a tool implemented by a Web Service.
- Author:
- Adrian Price
- See Also:
- Serialized Form
Constructor Summary |
WebServiceMetaData()
No-args constructor JavaBeans compliance. |
WebServiceMetaData(java.lang.String id,
boolean threadsafe,
java.lang.String wsdlLocation,
boolean authenticate,
java.lang.String userName,
java.lang.String password,
java.lang.String targetNamespace,
java.lang.String serviceName,
java.lang.String operationName,
java.lang.String inputMessage,
java.lang.String outputMessage)
Constructor for dynamically defining a Web Service. |
Methods inherited from class org.obe.client.api.repository.AbstractMetaData |
createInstance, getAuthor, getDescription, getDisplayName, getDocUrl, getId, getThreadsafe, getType, isThreadsafe, setAuthor, setDescription, setDisplayName, setDocUrl, setId, setThreadsafe, setType |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
WebServiceMetaData
public WebServiceMetaData()
- No-args constructor JavaBeans compliance.
WebServiceMetaData
public WebServiceMetaData(java.lang.String id,
boolean threadsafe,
java.lang.String wsdlLocation,
boolean authenticate,
java.lang.String userName,
java.lang.String password,
java.lang.String targetNamespace,
java.lang.String serviceName,
java.lang.String operationName,
java.lang.String inputMessage,
java.lang.String outputMessage)
- Constructor for dynamically defining a Web Service.
- Parameters:
id
- threadsafe
- wsdlLocation
- authenticate
- userName
- password
- targetNamespace
- serviceName
- operationName
- inputMessage
- outputMessage
-
getWsdlLocation
public java.lang.String getWsdlLocation()
setWsdlLocation
public void setWsdlLocation(java.lang.String wsdlLocation)
isAuthenticate
public boolean isAuthenticate()
getAuthenticate
public boolean getAuthenticate()
setAuthenticate
public void setAuthenticate(boolean authenticate)
getUserName
public java.lang.String getUserName()
setUserName
public void setUserName(java.lang.String userName)
getPassword
public java.lang.String getPassword()
setPassword
public void setPassword(java.lang.String password)
getTargetNamespace
public java.lang.String getTargetNamespace()
setTargetNamespace
public void setTargetNamespace(java.lang.String targetNamespace)
getPortLocation
public java.lang.String getPortLocation()
setPortLocation
public void setPortLocation(java.lang.String portLocation)
getPortName
public java.lang.String getPortName()
setPortName
public void setPortName(java.lang.String portName)
getPortTypeName
public java.lang.String getPortTypeName()
setPortTypeName
public void setPortTypeName(java.lang.String portTypeName)
getOperationStyle
public java.lang.String getOperationStyle()
setOperationStyle
public void setOperationStyle(java.lang.String operationStyle)
getServiceName
public java.lang.String getServiceName()
setServiceName
public void setServiceName(java.lang.String serviceName)
getOperationName
public java.lang.String getOperationName()
setOperationName
public void setOperationName(java.lang.String operationName)
getSoapAction
public java.lang.String getSoapAction()
setSoapAction
public void setSoapAction(java.lang.String soapAction)
getInputMessage
public Message getInputMessage()
setInputMessage
public void setInputMessage(Message inputMessage)
getOutputMessage
public Message getOutputMessage()
setOutputMessage
public void setOutputMessage(Message outputMessage)
createInstance
public java.lang.Object createInstance(org.xml.sax.EntityResolver entityResolver)
throws RepositoryException
- Overrides:
createInstance
in class ToolAgentMetaData
- Throws:
RepositoryException
getImplClass
protected java.lang.String getImplClass()
- Specified by:
getImplClass
in class AbstractMetaData
getImplCtorSig
protected java.lang.String[] getImplCtorSig()
- Specified by:
getImplCtorSig
in class AbstractMetaData
introspect
public ToolAgentMetaData introspect(ExternalReference extRef,
org.xml.sax.EntityResolver entityResolver)
throws RepositoryException
- Description copied from class:
ToolAgentMetaData
- Introspects a reference to an externally defined tool or service. If the
associated tool agent type can handle the reference, the method returns
the meta-data required to instantiate such a tool agent.
- Specified by:
introspect
in class ToolAgentMetaData
- Parameters:
extRef
- The external tool reference.entityResolver
-
- Returns:
- Configured tool meta-data, or
null
if this tool type
cannot handle this reference.
- Throws:
RepositoryException
OBE-1.0 Copyright (c) 2002-2006 Adrian Price. All Rights Reserved.