java.lang.Object
org.embl.ebi.escience.scufl.Processor
org.embl.ebi.escience.scuflworkers.wsdl.WSDLBasedProcessor
- All Implemented Interfaces:
- java.io.Serializable
- public class WSDLBasedProcessor
- extends org.embl.ebi.escience.scufl.Processor
- implements java.io.Serializable
A processor based on an operation defined within
a WSDL file accessible to the class at construction
time.
| Fields inherited from class org.embl.ebi.escience.scufl.Processor |
|
| Methods inherited from class org.embl.ebi.escience.scufl.Processor |
addPort, getBoundInputPorts, getBoundOutputPorts, getDescription, getInputPorts, getLogLevel, getModel, getName, getOutputPorts, getPorts, getRealLogLevel, locatePort, removePort, setDescription, setLogLevel, toString |
outNames
java.util.Vector outNames
outTypes
java.util.Vector outTypes
inNames
java.util.Vector inNames
inTypes
java.util.Vector inTypes
wsdlParser
org.apache.axis.wsdl.gen.Parser wsdlParser
call
javax.xml.rpc.Call call
wsdlLocation
private java.lang.String wsdlLocation
operationName
private java.lang.String operationName
WSDLBasedProcessor
public WSDLBasedProcessor(org.embl.ebi.escience.scufl.ScuflModel model,
java.lang.String name,
java.lang.String wsdlLocation,
java.lang.String operationName)
throws org.embl.ebi.escience.scufl.ProcessorCreationException,
org.embl.ebi.escience.scufl.DuplicateProcessorNameException
- Construct a new processor from the given WSDL definition
and operation name, delegates to superclass then instantiates
ports based on WSDL inspection.
getWSDLLocation
public java.lang.String getWSDLLocation()
- Get the WSDL location for this processor
getOperationName
public java.lang.String getOperationName()
- Get the operation name for this processor
configureFor
private void configureFor(java.lang.String operationName)
throws org.embl.ebi.escience.scufl.ProcessorCreationException
- Load information from the WSDL parser to populate the input and
output vectors and create the Call object
xsdTypeToInternalType
public java.lang.String xsdTypeToInternalType(java.lang.String xsdType)
- Convert an XSD type into a Baclava type string
getProperties
public java.util.Properties getProperties()
- Get the properties for this processor for display purposes
getSymTabEntry
public org.apache.axis.wsdl.symbolTable.SymTabEntry getSymTabEntry(javax.xml.namespace.QName qname,
java.lang.Class cls)
- Method getSymTabEntry
Search the symbol table for an entry with the specified
class and optionally QName. If the QName is not specified
then examine all entries.
selectPort
public org.embl.ebi.escience.scufl.Port selectPort(java.util.Map ports,
java.lang.String portName)
throws java.lang.Exception
- Given a map of ports, iterate across it until either
a port matching the portName parameter is found or until
any port is found with a SOAPAddress extensibility element.
Return null if no such port can be located.