简体   繁体   中英

Generating java from wsdl failure

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.

PATH - C:\\axis2\\bin\\wsdl2java.bat is invalid. Try to set PATH - C:\\axis2\\bin\\ and then restart cmd / powershell

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM