function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
balaji kharadebalaji kharade 

Generating and Validating Enterprise WSDL

I downloaded the enterprise WSDL and trying to use the Stubs to create and external application to perfomr few operation in SFDC based on certain creteria.
I am getting the below error when I trying to fetch the .java files from the WSDL. can someone please help me in this to resolve the issue.

error

Should I import any other library file? 
Best Answer chosen by James Loghry
James LoghryJames Loghry
This has little to nothing to do with generating / validating the enterprise wsdl, but rather making sure your java is setup correctly with the correct classpath and libraries.  For starters, I believe you'll need at least version 1.6 of the axis 2 jar from here: http://axis.apache.org/axis2/java/core/download.cgi

There's likely other jars and libraries you're going to need as you start compiling your project as well.  Good luck.

All Answers

James LoghryJames Loghry
This has little to nothing to do with generating / validating the enterprise wsdl, but rather making sure your java is setup correctly with the correct classpath and libraries.  For starters, I believe you'll need at least version 1.6 of the axis 2 jar from here: http://axis.apache.org/axis2/java/core/download.cgi

There's likely other jars and libraries you're going to need as you start compiling your project as well.  Good luck.
This was selected as the best answer
balaji kharadebalaji kharade
Thanks a lot James Loghry. The version of Axis 2 jar I was using was causing this issue. I downloaded and imported the version 1.6 of Axis2 and it worked well. Thanks again !! :)