Running wsdl2java - 8.0

Talend ESB Service Developer Guide

Version
8.0
Language
English
Product
Talend Data Fabric
Talend Data Services Platform
Talend ESB
Talend MDM Platform
Talend Open Studio for ESB
Talend Real-Time Big Data Platform
Module
Talend ESB
Talend Runtime
Content
Design and Development
Installation and Upgrade
Last publication date
2023-11-06

You can generate the code needed to develop your service using the following command: wsdl2java -ant -impl -server -d outputDir myService.wsdl

The command does the following:

  • The -ant argument generates a Ant makefile, called build.xml , for your application.

  • The -impl argument generates a shell implementation class for each portType element in the WSDL document.

  • The -server argument generates a simple main() to launch your service as a stand alone application.

  • The -d outputDir argument tells wsdl2java to write the generated code to a directory called outputDir.

  • myService.wsdl is the WSDL document from which code is generated.