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.
Product Version = NetBeans IDE 7.3.1 (Build 201306052037) Operating System = Windows 7 version 6.1 running on x86 Java; VM; Vendor = 1.7.0 Runtime = IBM J9 VM 2.6 After creating Java Web Application and creating new "Web Service Client...", selecting local WSDL file and checking "Generate Dispatch Code", I've got error in Output console: --- ant -f C:\\Users\\mno\\Documents\\NetBeansProjects\\WebApplication1 wsimport-client-Authenticator Target "wsimport-client-Authenticator" does not exist in the project "WebApplication1". BUILD FAILED (total time: 0 seconds) --- and no code is generated. The same was, when I created JavaApplication.
Created attachment 138440 [details] IDE log
Could you please attach these files from your project: - local wsdl file - nbproject/jax-ws.xml - nbproject/build-impl.xml - nbproject/jaxws-build.xml (or the entire project) The error message indicates some issue with : enterprise/modules/org-netbeans-modules-websvc-jaxwsmodel.jar!/org/netbeans/modules/websvc/jaxwsmodel/resources/jaxws-web.xsl But this file looks correct.
I have downloaded wsdl file from: http://wsf.cdyne.com/SpellChecker/check.asmx?wsdl (as suggested in: https://netbeans.org/kb/docs/websvc/client.html) I have also tried to generate WSDL file after "Adding an Operation to the Web Service" stop from the https://netbeans.org/kb/docs/websvc/jax-ws.html tutorial, but the error is similar: ---v--- cut ---v--- ant -f C:\\Users\\mno\\Documents\\NetBeansProjects\\WServer\\nbproject\\build-impl.xml wsgen-NewWebService Target "wsgen-NewWebService" does not exist in the project "WServer-impl". BUILD FAILED (total time: 0 seconds) ---^--- cut ---^--- I'm not sure if there should be additional bug reported or not for that (I assume that it is correlated, so not).
Created attachment 138483 [details] WSDL file
Created attachment 138484 [details] Whole project in zip file
Fixed. Get rid of using non-standard xslt feature, supported by Xalan, where <xsl:value-of> is embedded in <xsl:text>. This is not guaranteed by XSLT specification. See: http://hg.netbeans.org/web-main/rev/aa2b7b0117e3
Integrated into 'main-silver', will be available in build *201308092300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/aa2b7b0117e3 User: Milan Kuchtiak <mkuchtiak@netbeans.org> Log: #234124: don't use non-standard Xalan feature in xslt script, where <xsl:value-of> is embedded in <xsl:text>