org.obe.client.api.repository
Class WebServiceMetaData

java.lang.Object
  extended byorg.obe.client.api.repository.AbstractMetaData
      extended byorg.obe.client.api.repository.ToolAgentMetaData
          extended byorg.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

Field Summary
 
Fields inherited from class org.obe.client.api.repository.ToolAgentMetaData
_formalParameters
 
Fields inherited from class org.obe.client.api.repository.AbstractMetaData
_author, _description, _displayName, _docUrl, _id, _threadsafe, _type, allowInheritance, EMPTY_ARGS, NO_ARGS_SIG
 
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.
 
Method Summary
 java.lang.Object createInstance(org.xml.sax.EntityResolver entityResolver)
           
 boolean getAuthenticate()
           
protected  java.lang.String getImplClass()
           
protected  java.lang.String[] getImplCtorSig()
           
 Message getInputMessage()
           
 java.lang.String getOperationName()
           
 java.lang.String getOperationStyle()
           
 Message getOutputMessage()
           
 java.lang.String getPassword()
           
 java.lang.String getPortLocation()
           
 java.lang.String getPortName()
           
 java.lang.String getPortTypeName()
           
 java.lang.String getServiceName()
           
 java.lang.String getSoapAction()
           
 java.lang.String getTargetNamespace()
           
 java.lang.String getUserName()
           
 java.lang.String getWsdlLocation()
           
 ToolAgentMetaData introspect(ExternalReference extRef, org.xml.sax.EntityResolver entityResolver)
          Introspects a reference to an externally defined tool or service.
 boolean isAuthenticate()
           
 void setAuthenticate(boolean authenticate)
           
 void setInputMessage(Message inputMessage)
           
 void setOperationName(java.lang.String operationName)
           
 void setOperationStyle(java.lang.String operationStyle)
           
 void setOutputMessage(Message outputMessage)
           
 void setPassword(java.lang.String password)
           
 void setPortLocation(java.lang.String portLocation)
           
 void setPortName(java.lang.String portName)
           
 void setPortTypeName(java.lang.String portTypeName)
           
 void setServiceName(java.lang.String serviceName)
           
 void setSoapAction(java.lang.String soapAction)
           
 void setTargetNamespace(java.lang.String targetNamespace)
           
 void setUserName(java.lang.String userName)
           
 void setWsdlLocation(java.lang.String wsdlLocation)
           
 
Methods inherited from class org.obe.client.api.repository.ToolAgentMetaData
createInstance, getFormalParameter, init, setFormalParameter, toString
 
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
 

Constructor Detail

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 -
Method Detail

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


SourceForge.net Logo OBE-1.0 Copyright (c) 2002-2006 Adrian Price. All Rights Reserved.