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 122686 - Missing jaxws-build after creating ws from wsdl
Summary: Missing jaxws-build after creating ws from wsdl
Status: RESOLVED WORKSFORME
Alias: None
Product: webservices
Classification: Unclassified
Component: JAX-WS (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Roderico Cruz
URL:
Keywords: RANDOM
Depends on:
Blocks:
 
Reported: 2007-11-24 21:30 UTC by Lukas Jungmann
Modified: 2008-01-21 20:13 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
wsdl (3.60 KB, text/plain)
2007-11-24 21:31 UTC, Lukas Jungmann
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lukas Jungmann 2007-11-24 21:30:36 UTC
RC2:

-create new ws from attached WSDL in web application

=>Target "wsimport-service-clean-NewWebServiceFromWSDL" does not exist in the project "WebApplication5-impl". 
BUILD FAILED (total time: 0 seconds)
Comment 1 Lukas Jungmann 2007-11-24 21:31:45 UTC
Created attachment 53443 [details]
wsdl
Comment 2 Lukas Jungmann 2007-11-24 21:40:42 UTC
workaround is to reopen project and refresh the service
Comment 3 Lukas Jungmann 2007-11-24 22:19:47 UTC
happens only in web project, ws from wsdl in EJB module works fine
Comment 4 Roderico Cruz 2007-11-25 04:06:47 UTC
Lukas I am unable to reproduce this on RC2. Kindly try it again.
Comment 5 Lukas Jungmann 2007-11-25 15:59:26 UTC
strange, it works for me too now...
Comment 6 Lukas Jungmann 2007-11-25 16:56:39 UTC
Rico, can you try it using following steps, please:

1) create new webproject for glassfish
2) restart the IDE  <-- this is required!
3) create ws from wsdl in a project created in step 1

I ended up with missing jaxws-build.xml and following exception:

java.lang.IllegalArgumentException: Cannot create a QualIdent for org.duke.AddNumbersPortType
	at org.netbeans.modules.j2ee.common.source.GenerationUtils.createQualIdent(GenerationUtils.java:788)
	at org.netbeans.modules.j2ee.common.source.GenerationUtils.addImplementsClause(GenerationUtils.java:751)
	at org.netbeans.modules.websvc.core.JaxWsUtils$3.run(JaxWsUtils.java:336)
	at org.netbeans.modules.websvc.core.JaxWsUtils$3.run(JaxWsUtils.java:422)
	at org.netbeans.api.java.source.JavaSource.runModificationTask(JavaSource.java:842)
	at org.netbeans.modules.websvc.core.JaxWsUtils.generateJaxWsImplClass(JaxWsUtils.java:425)
	at org.netbeans.modules.websvc.core.JaxWsUtils.generateJaxWsImplementationClass(JaxWsUtils.java:169)
	at org.netbeans.modules.websvc.core.dev.wizard.JaxWsServiceCreator$4.modelCreated(JaxWsServiceCreator.java:357)
	at org.netbeans.modules.websvc.api.jaxws.wsdlmodel.WsdlModeler.fireModelCreated(WsdlModeler.java:265)
	at org.netbeans.modules.websvc.api.jaxws.wsdlmodel.WsdlModeler.access$200(WsdlModeler.java:72)
	at org.netbeans.modules.websvc.api.jaxws.wsdlmodel.WsdlModeler$1.run(WsdlModeler.java:98)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:561)
[catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:986)
Comment 7 Lukas Jungmann 2007-11-25 23:27:45 UTC
Jardo, can you try this on your box, please?
Thanks.
Comment 8 Roderico Cruz 2007-11-26 06:25:51 UTC
Still unable to reproduce this with the steps you describe. I tried
numerous times, with existing user dir and with clean user dir but
was not able to reproduce this.
Comment 9 Jaroslav Pospisil 2007-11-27 12:18:58 UTC
Can't reproduce with latest release6 build. Adding RANDOM keyword.
Comment 10 Roderico Cruz 2008-01-21 20:13:57 UTC
Still unable to reproduce this. Closing as WORKSFORME. Kindly reopen if you can reproduce. Thanks.