Wsdl2Apex open source code
- Clone this repository
- In the directory, use the command mvn install package
- After it has finished, use the command cd target to switch to the right directory
- Execute the jar: java -jar Wsdl2Apex-1.0.jar [path-to-wsdl] [path-to-new-file] [want asynchronous class?]
- To clean, run mvn clean
To run the test, use the command mvn test in the base directory
Wsdl2Apex code is now seperated into the parsing part and the generated part. If using the parsing and generating funtions 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] [(optional) path-to-new-file]