com.ibm.di.fc.webservice.util
Class WsdlGenerator

java.lang.Object
  extended by com.ibm.di.fc.webservice.util.WsdlGenerator

public class WsdlGenerator
extends Object


Constructor Summary
WsdlGenerator(AssemblyLineConfig aALConfig, String aWebServiceLocation)
           
WsdlGenerator(MetamergeConfig aMMConfig, Vector aOperationNames, String aWebServiceLocation, String aThisNamespace, String aDefinitionName)
           
 
Method Summary
protected  void addService()
           
protected  javax.wsdl.Binding createBinding()
           
protected  javax.wsdl.BindingOperation createBindingOperation(String aOperationName)
           
protected  void createDefinition()
           
protected  javax.wsdl.Input createInput(String aOperationName)
           
protected  javax.wsdl.Message createMessage(String aOperationName, boolean aIsInputMessage)
           
protected  javax.wsdl.Operation createOperation(String aOperationName)
           
protected  javax.wsdl.Output createOutput(String aOperationName)
           
protected  javax.wsdl.Part createPart(String aParameterName, String aXsdType)
           
protected  javax.wsdl.Port createPort()
           
protected  javax.wsdl.PortType createPortType()
           
protected  javax.wsdl.extensions.soap.SOAPBody createSoapBody()
           
static void generateWsdl(BaseConfiguration aBaseConfig, String aWsdlFileName, String aWebServiceLocation)
           
 void writeToFile(String aWsdlFileName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WsdlGenerator

public WsdlGenerator(AssemblyLineConfig aALConfig,
                     String aWebServiceLocation)
              throws Exception
Throws:
Exception

WsdlGenerator

public WsdlGenerator(MetamergeConfig aMMConfig,
                     Vector aOperationNames,
                     String aWebServiceLocation,
                     String aThisNamespace,
                     String aDefinitionName)
              throws Exception
Throws:
Exception
Method Detail

writeToFile

public void writeToFile(String aWsdlFileName)
                 throws javax.wsdl.WSDLException,
                        FileNotFoundException
Throws:
javax.wsdl.WSDLException
FileNotFoundException

createDefinition

protected void createDefinition()
                         throws Exception
Throws:
Exception

addService

protected void addService()
                   throws Exception
Throws:
Exception

createPort

protected javax.wsdl.Port createPort()
                              throws Exception
Throws:
Exception

createBinding

protected javax.wsdl.Binding createBinding()
                                    throws Exception
Throws:
Exception

createPortType

protected javax.wsdl.PortType createPortType()
                                      throws Exception
Throws:
Exception

createOperation

protected javax.wsdl.Operation createOperation(String aOperationName)
                                        throws Exception
Throws:
Exception

createInput

protected javax.wsdl.Input createInput(String aOperationName)
                                throws Exception
Throws:
Exception

createOutput

protected javax.wsdl.Output createOutput(String aOperationName)
                                  throws Exception
Throws:
Exception

createMessage

protected javax.wsdl.Message createMessage(String aOperationName,
                                           boolean aIsInputMessage)
                                    throws Exception
Throws:
Exception

createPart

protected javax.wsdl.Part createPart(String aParameterName,
                                     String aXsdType)

createBindingOperation

protected javax.wsdl.BindingOperation createBindingOperation(String aOperationName)

createSoapBody

protected javax.wsdl.extensions.soap.SOAPBody createSoapBody()

generateWsdl

public static void generateWsdl(BaseConfiguration aBaseConfig,
                                String aWsdlFileName,
                                String aWebServiceLocation)
                         throws Exception
Throws:
Exception