AutoMediate Command Syntax and Options
The AutoMediate command uses concrete WSDL file or directory locations as input and generates a composite application that provides pass-through mediation capabilities for existing web services.
Syntax
AutoMediate [-projectName project_name] [-projectDir project_dir] [-serviceHost host_name] [-servicePort port] wsdl location
Example | Description |
---|---|
AutoMediate -projectName SOA webservice.wsdl | Automatically mediates one or more web services defined by single WSDL file. |
AutoMediate
-projectName SOA webservice.wsdl webservice1.wsdl webservice2.wsdl
AutoMediate webservice.wsdl c:/tibco/SOAP/wsdls webservice1.wsdl |
Automatically mediates web services. |
AutoMediate -projectDir C:/tibco/SOA/mediation/workspace webservice.wsdl | Automatically mediates one or more web services and writes generated SOA project to a specific directory. |
AutoMediate -projectDir C:/tibco/SOA/mediation/workspace -serviceHost localhost -servicePort 9897 webservice.wsdl | Automatically mediates one or more web services, generates a SOA project in a specific directory, and updates the host and port for the service. |
AutoMediate
-projectDir C:/tibco/SOA/mediation/workspace
c:/tibco/wsdls |
Automatically mediates web services defined by the WSDL files contained in the specified folder. |
AutoMediate
webservice.wsdl -daaOnly -projectDir
C:/tibco/SOA/mediation/workspace |
Automatically mediates one or more web services and generates the DAA in the specified directory. |
Exception | Description |
---|---|
WSDLFileNotFoundException | The WSDL location passed to the AutoMediate Command Line tool is invalid. |
NoWSDLServiceDefinedException |
The WSDL passed to the AutoMediate Command Line tool does not have any services defined. AutoMediate Command Line supports only concrete WSDLs for this add-on pack release. |
NoWSDLServiceBindingException |
The port child element of a WSDL service element has a missing binding attribute. Binding must be provided for AutoMediate Command Line to generate a fully functional composite application. |
NoWSDLBindingPortTypeException |
A WSDL binding has a missing port type attribute. The port type must be provided for AutoMediate Command Line to generate a fully functional composite application. |