Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.embl.ebi.escience.scuflworkers.wsdl
Class WSDLBasedProcessor  view WSDLBasedProcessor download WSDLBasedProcessor.java

java.lang.Object
  extended byorg.embl.ebi.escience.scufl.Processor
      extended byorg.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.


Field Summary
(package private)  javax.xml.rpc.Call call
           
(package private)  java.util.Vector inNames
           
(package private)  java.util.Vector inTypes
           
private  java.lang.String operationName
           
(package private)  java.util.Vector outNames
           
(package private)  java.util.Vector outTypes
           
private  java.lang.String wsdlLocation
           
(package private)  org.apache.axis.wsdl.gen.Parser wsdlParser
           
 
Fields inherited from class org.embl.ebi.escience.scufl.Processor
 
Constructor Summary
WSDLBasedProcessor(org.embl.ebi.escience.scufl.ScuflModel model, java.lang.String name, java.lang.String wsdlLocation, java.lang.String operationName)
          Construct a new processor from the given WSDL definition and operation name, delegates to superclass then instantiates ports based on WSDL inspection.
 
Method Summary
private  void configureFor(java.lang.String operationName)
          Load information from the WSDL parser to populate the input and output vectors and create the Call object
 java.lang.String getOperationName()
          Get the operation name for this processor
 java.util.Properties getProperties()
          Get the properties for this processor for display purposes
 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.
 java.lang.String getWSDLLocation()
          Get the WSDL location for this processor
 org.embl.ebi.escience.scufl.Port selectPort(java.util.Map ports, java.lang.String portName)
          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.
 java.lang.String xsdTypeToInternalType(java.lang.String xsdType)
          Convert an XSD type into a Baclava type string
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

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

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.

Method Detail

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.