Tuesday, 5 April 2016

Follow below steps to create Jar from WSDL file -

Step 1 : Download the supporting jars from  here .
Step 2 : Extract the zip and copy the two downloaded jar files (wsc-22.jar and tools.jar) at location where you have .wsdl file .
Step 3 : Open Notepad , copy below code and save the file with .bat extension at same location where you have .wsdl file.It will create executable batch file e.g wsdltojar.bat.
Step 4 : Run .bat file


/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

C:\Installations\Oracle\Middleware\jdk160_24\bin\java -Xms512m -Xmx1024m -classpath tools.jar;wsc-22.jar com.sforce.ws.tools.wsdlc "C:\temp\WSDLtoJAR\Partner.wsdl" "C:\temp\WSDLtoJAR\Partner.jar"

pause


/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

0 comments:

Post a Comment