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.

Bug 269317 - When I expand the Web Services node, and right-click the FlowerService node, and then choose Generate and Copy WSDL..it shows me an error: "The WSDL was not generated."
Summary: When I expand the Web Services node, and right-click the FlowerService node, ...
Status: NEW
Alias: None
Product: webservices
Classification: Unclassified
Component: JAX-WS (show other bugs)
Version: 8.2
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Milan Kuchtiak
URL:
Keywords: JDK_8
Depends on:
Blocks:
 
Reported: 2016-12-13 10:52 UTC by jjespada
Modified: 2017-11-03 16:27 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (76.00 KB, text/plain)
2016-12-13 10:52 UTC, jjespada
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jjespada 2016-12-13 10:52:15 UTC
Product Version = NetBeans IDE 8.2 (Build 201610071157)
Operating System = Windows 7 version 6.1 running on amd64
Java; VM; Vendor = 1.8.0_05
Runtime = Java HotSpot(TM) 64-Bit Server VM 25.5-b02

Reproducibility: Happens every time
Java EE 7 Web
Glassfish Server 4.1.1

STEPS:
  *  Following the Netbeans tutorial: "Web Service Passing Binary Data, pt 1-4: Modifying the Schema and WSDL Files"
  *  All Steps until step 4
  *  Expand the Web Services node
  *  Right-click the FlowerService node
  *  Generate and Copy WSDL

ACTUAL:
  nothing happens

EXPECTED:
  The WSDL was not generated. View the Output window to see the error.
...
wsgen-init:
wsgen-FlowerService:
JAX-WS RI 2.2.11-b150120.1832
command line: wsgen"C:\Program Files\Java\jdk1.8.0_05\jre\bin\java.exe" -d K:\cursos\propios\LOCAL\Netbeans\NetBeansProject\ServiciosWeb\SOAPyWSDL\FlowerAlbumService\build\generated-sources\jax-ws -Xendorsed -keep -s K:\cursos\propios\LOCAL\Netbeans\NetBeansProject\ServiciosWeb\SOAPyWSDL\FlowerAlbumService\build\generated-sources\jax-ws -verbose -classpath "C:\Program Files\Java\jdk1.8.0_05\lib\tools.jar;K:\cursos\propios\LOCAL\Netbeans\NetBeansProject\ServiciosWeb\SOAPyWSDL\FlowerAlbumService\build\web\WEB-INF\classes;C:\Program Files\glassfish-4.1.1\glassfish\modules\webservices-osgi.jar;C:\Program Files\glassfish-4.1.1\glassfish\modules\endorsed\webservices-api-osgi.jar;C:\Program Files\glassfish-4.1.1\glassfish\modules\jaxb-osgi.jar;C:\Program Files\glassfish-4.1.1\glassfish\modules\endorsed\jaxb-api.jar" -wsdl -r K:\cursos\propios\LOCAL\Netbeans\NetBeansProject\ServiciosWeb\SOAPyWSDL\FlowerAlbumService\build\generated-sources\jax-ws\resources org.flower.service.FlowerService
K:\cursos\propios\LOCAL\Netbeans\NetBeansProject\ServiciosWeb\SOAPyWSDL\FlowerAlbumService\nbproject\jaxws-build.xml:26: Error starting wsgen: class com.sun.tools.javac.api.JavacTool
BUILD FAILED (total time: 0 seconds)
Comment 1 jjespada 2016-12-13 10:52:20 UTC
Created attachment 163218 [details]
IDE log
Comment 2 marouncorbane 2017-03-29 05:49:42 UTC
For Netbeans 8.2 and Windows 7, the default ant settings for Netbeans are incorrect; if you check the error, you will find that wsgen"C.... are not seperated. 
A space should be between those two i.e. wsgen "C..... So either fix the ant settings or copy the command and correct it before running it again.
Comment 3 cathcoll 2017-11-03 16:27:10 UTC
Can I please get instructions on how to fix the Ant default settings?
Thanks,
Catherine.