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
tyweedtyweed 

cannot even begin to use the wsdl2java web service please help me with my options?

I'm so frustrated! I'm trying to simple convert the wsdl file to java code. However, this is a surprisingly big pain in the but. I'm a programmer so I can handle some technical stuff, but everything seems to be going wrong for me. Please help!

I have tried to install the axis/wsdl plugin for eclipse:

dragged the folders to eclipse plugin folder restarted eclipse........nothing shows up in the wizard

tried command line :

C:\Program Files\Java\jdk1.6.0_11\bin\axis2\axis2\bin>wsdl2java
The JAVA_HOME environment variable is not defined correctly
This environment variable is needed to run this program
NB: JAVA_HOME should point to a JDK/JRE

C:\Program Files\Java\jdk1.6.0_11\bin\axis2\axis2\bin>echo %JAVA_HOME%
C:\Program Files\Java\jdk1.6.0_11\bin

C:\Program Files\Java\jdk1.6.0_11\bin\axis2\axis2\bin>wsdl2java -o Enterprise.w
dl
The JAVA_HOME environment variable is not defined correctly
This environment variable is needed to run this program
NB: JAVA_HOME should point to a JDK/JRE

I have java_home setup i think correctly but keep getting those errors?



tried netbean plugin with no luck!



Please i'm out of options. How can i get this wsdl2java complete. I'm stuck at this process and would like to move forward.


SuperfellSuperfell
use Axis 1.4 (not axis2), follow the instructions in the getting started guide in the API docs.
tyweedtyweed
Are you familiar with individuals/people/forums who will generate the file for you fee is fine. I'm sick of trying to get this thing working. Any ideas?
wyvernwyvern
Try using JAX-WS instead of Axis. I had better luck with it.
pinkelkpinkelk
You make a good point - I have had similar problems with the wsdl2java plugin for Eclipse, and I just send my WSDL to a colleague who build the Java for me and sent it back...