uk.ac.soton.ecs.grimoires.test
Class ComplexWSDLBuilder

java.lang.Object
  extended byuk.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.


Constructor Summary
ComplexWSDLBuilder(String tns)
           
 
Method Summary
 javax.wsdl.Part addInputPart(String name, String type)
           
 void addNamespace(String prefix, String nsURI)
           
 javax.wsdl.Operation addOperation(String name)
           
 javax.wsdl.Part addOutputPart(String name, String type)
           
 void addPortType(String name)
           
 String getResult()
           
static void main(String[] argv)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComplexWSDLBuilder

public ComplexWSDLBuilder(String tns)
                   throws javax.wsdl.WSDLException
Method Detail

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