Reputation: 50
I am trying to generate service stub from a wsdl file but I keep getting the error message on windows command prompt when I type the following:
C:\path to dir containing the wsdl file> wsdl2java -uri ./[WSDL FILE NAME]
I have set up the following environment variables:
AXIS2_HOME - C:\axis2\bin
PATH - C:\axis2\bin\wsdl2java.bat
The wsdl2java.bat file is in the bin dir of axis2. But I can't figure out why I get this error. Please help.
Upvotes: 1
Views: 9369
Reputation: 26
PATH - C:\axis2\bin\wsdl2java.bat is invalid. Try to set PATH - C:\axis2\bin\ and then restart cmd / powershell
Upvotes: 1