AutoMediate ANT Command Syntax and Options

The AutoMediate ANT command generates a composite application that provides pass-through mediation capability for an existing web service or web-services. The WSDL URI format must be in EMF URI format.

Syntax

amx_eclipse_ant.exe [-DprojectDir=project_dir] [-DprojectName=project_name] [-DserviceHost host_name] [-DservicePort port] [-DwsdlLocation wsdl location] [-DwsdlLocations=wsdl location] [-buildfile build_file]

The AutoMediate ANT command is located in the <TIBCO_HOME>\studio\<version>\eclipse directory

See AutoMediate Command and Syntax Options.

AutoMediate ANT Command-Line Examples

amx_eclipse_ant.exe -DprojectName=SOA webservice.wsdl -buildfile build.xml

Automatically mediates one or more web services defined by single WSDL file.
amx_eclipse_ant.exe -DprojectName= SOA -DwsdlLocation=webservice.wsdl;webservice1.wsdl;webservice2.wsdl -buildfile build.xml

amx_eclipse_ant.exe -DprojectName= SOA -DwsdlLocation=c:\tibco\SOAP\wsdl1;c:\tibco\SOAP\wsdl2;c:\tibco\SOAP\wsdl3 -buildfile build.xml

Automatically mediates web services.
amx_eclipse_ant.exe -DprojectDir= c:/tibco/SOA/mediation/workspace -DwsdlLocation=webservice.wsdl -buildfile build.xml Automatically mediates one or more web services and writes generated SOA project to a specific directory.
amx_eclipse_ant.exe -DprojectDir=C:/tibco/SOA/mediation/workspace -serviceHost localhost -servicePort 9897 webservice.wsdl -buildfile build.xml Automatically mediates one or more web services, generates a SOA project in a specific directory, and updates the host and port for the service.
amx_eclipse_ant.exe -daaOnly -DprojectDir= c:/tibco/SOA/mediation/workspace -DwsdlLocation=webservice.wsdl -buildfile build.xml Automatically mediates one or more web services and generates the DAA in the specified directory.