Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Pull request Compare This branch is 5 commits behind forcedotcom:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


WSDL2Apex takes a WSDL file and generates the Apex stubs for it. This is used in, and is part of the IDE plug-in. However, since it can be used a standalone tool, we have factored it out into its own project.

How to Use

  1. Clone this repository.
  2. In the directory, use the command mvn install package.
  3. After it has finished, use the command cd target to switch to the right directory
  4. Execute the jar: java -jar WSDL2Apex-1.0.jar [path-to-wsdl] [path-to-new-file] [want asynchronous class? (yes|no)]
  5. To clean, run mvn clean

To run the test, use the command mvn test in the base directory


WSDL2Apex code is now separated into the parsing part and the generated part. If you are using the parsing and generating functions in the main class, be sure to use the parse method first and then the generate method.

Parse method takes [path-to-wsdl]

Generate method takes in [names-of-generated-classes] [want asynchronous class? (yes|no) ] [(optional) path-to-new-file]


Eclipse Public License (EPL) v1.0

WSDL2Apex also uses the following libraries/frameworks in their binary form, which have their own respective licenses:

You can’t perform that action at this time.