This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
I have a Maven test project that I created on d:\Projects\Test and added a Web Service client. The wsimport and code generation worked. I create another Maven test project under a long path name and the wsimport fails when adding the same Web service client. The long path is: D:\Projects\Java Applications\PCI\Branches\Development\mavenproject1 The wsimport fails trying to access a folder that it successfully created: (D:/Projects/Java%20Applications/PCI/Branches/Development/mavenproject1/Applications/PCI/Branches/Development/mavenproject1/target/generated-sources/jaxws-wsimport Here is the output of the build cd D:\Projects\Java Applications\PCI\Branches\Development\mavenproject1; "JAVA_HOME=C:\\Program Files\\Java\\jdk1.7.0_45" cmd /c "\"\"D:\\Users\\DHAnderson.IRSNet\\AppData\\Roaming\\NetBeans\\7.4\\maven\\bin\\mvn.bat\" -Dmaven.ext.class.path=D:\\Users\\DHAnderson.IRSNet\\AppData\\Roaming\\NetBeans\\7.4\\maven-nblib\\netbeans-eventspy.jar compile\"" Scanning for projects... ------------------------------------------------------------------------ Building mavenproject1 2.0-SNAPSHOT ------------------------------------------------------------------------ --- jaxws-maven-plugin:2.3:wsimport (wsimport-generate-ACHLogService.asmx) @ mavenproject1 --- cannot find file for junit:junit Processing: file:/D:/Projects/Java%20Applications/PCI/Branches/Development/mavenproject1/src/wsdl/www.shopouraisles.com/webservices/achlogservice/ACHLogService.asmx.wsdl jaxws:wsimport args: [-keep, -s, D:\Projects\Java Applications\PCI\Branches\Development\mavenproject1\target\generated-sources\jaxws-wsimport, -d, D:\Projects\Java Applications\PCI\Branches\Development\mavenproject1\target\classes, -verbose, -encoding, UTF-8, -extension, -Xnocompile, -p, com.htg.mavenproject1, -catalog, D:\Projects\Java Applications\PCI\Branches\Development\mavenproject1\src\jax-ws-catalog.xml, -wsdllocation, http://www.shopouraisles.com/webservices/achlogservice/ACHLogService.asmx?wsdl, "file:/D:/Projects/Java%20Applications/PCI/Branches/Development/mavenproject1/src/wsdl/www.shopouraisles.com/webservices/achlogservice/ACHLogService.asmx.wsdl"] parsing WSDL... file:/D:/Projects/Java%20Applications/PCI/Branches/Development/mavenproject1/Applications/PCI/Branches/Development/mavenproject1/target/generated-sources/jaxws-wsimport is unreachable Failed to parse the WSDL. ------------------------------------------------------------------------ BUILD FAILURE ------------------------------------------------------------------------ Total time: 2.410s Finished at: Fri Jan 31 11:56:03 CST 2014 Final Memory: 4M/15M ------------------------------------------------------------------------ Failed to execute goal org.jvnet.jax-ws-commons:jaxws-maven-plugin:2.3:wsimport (wsimport-generate-ACHLogService.asmx) on project mavenproject1: Mojo failed - check output -> [Help 1] To see the full stack trace of the errors, re-run Maven with the -e switch. Re-run Maven using the -X switch to enable full debug logging. For more information about the errors and possible solutions, please read the following articles: [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
I removed the space in the root path of: d:\projects\Java Applications\ to d:\projects\JavaApplications\ and wsimport was able to run with out any errors. So this bug must relate to any regarding wsimport on Maven projects where there is a space in the path to the project.
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue. Thanks for your cooperation, NetBeans IDE 8.2 Release Boss