uk.ac.soton.ecs.grimoires.test
Class ComplexWSDLBuilder
java.lang.Object
uk.ac.soton.ecs.grimoires.test.ComplexWSDLBuilder
- public class ComplexWSDLBuilder
- extends Object
A convenience class for constructing WSDL4J Definitions where the WSDL
has only one port type with one operation, both of which are given default
names. Useful for interfaces of certain service types, e.g. scripts or workflows.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ComplexWSDLBuilder
public ComplexWSDLBuilder(String tns)
throws javax.wsdl.WSDLException
main
public static void main(String[] argv)
throws Exception
- Throws:
Exception
addNamespace
public void addNamespace(String prefix,
String nsURI)
addPortType
public void addPortType(String name)
addOperation
public javax.wsdl.Operation addOperation(String name)
addInputPart
public javax.wsdl.Part addInputPart(String name,
String type)
addOutputPart
public javax.wsdl.Part addOutputPart(String name,
String type)
getResult
public String getResult()
throws Exception
- Throws:
Exception