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 224920 - Cannot see WebServices client references with maven based application
Summary: Cannot see WebServices client references with maven based application
Status: RESOLVED FIXED
Alias: None
Product: webservices
Classification: Unclassified
Component: Code (show other bugs)
Version: 7.2.1
Hardware: PC Linux
: P3 normal (vote)
Assignee: Milan Kuchtiak
URL:
Keywords:
Depends on:
Blocks: 235022
  Show dependency tree
 
Reported: 2013-01-15 16:32 UTC by luis.boch
Modified: 2013-08-29 01:42 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Project to reproduce (1.04 KB, application/zip)
2013-01-15 16:32 UTC, luis.boch
Details

Note You need to log in before you can comment on or make changes to this bug.
Description luis.boch 2013-01-15 16:32:01 UTC
Created attachment 130248 [details]
Project to reproduce

Using a regular maven "java application" project, as we try to import any WSDL nothing happens, the import dialog just close without doing anything. I tried Java services and some .asmx WSDL (just in case) and the same behavior happens. If the same WSDL is imported into a maven "web application" or in a NetBeans native project (not-maven) the import is successfully done.

Getting an existing - old project - which was perfectly working on NetBeans previous 7.1.2 version, project compilation works, but the "Web services references" node is not showing anymore (used for refreshing WSDL, etc.) . And, trying to add a new WSDL reference in this project I got the same bad behavior as in new projects, nothing happens after the import dialog closes.

Searching for issues, I found this related link http://netbeans.org/bugzilla/show_bug.cgi?id=209555 . But seems that it does not apply to maven projects. Additionally, I have downloaded and installed version 7.3 beta 2, hopefully for any solution. However, the problems still persists.

Steps to reproduce
Open the attached project
Right click on
select New
Select "Web Service Client"
Select "WSDL URL"
Add a valid wsdl url.
Click "Finish"

versions:
Netbeans: 7.2.1
Maven JAX-WS: 1.14.2
Comment 1 alsnet 2013-01-15 16:44:42 UTC
The same problem happens for me using such version, running MAC pc.
Comment 2 isoman 2013-01-24 16:31:04 UTC
I have the same problem with windows 7 and netbeans 7.2.1.
Did you find a solution/fix ?
Comment 3 Milan Kuchtiak 2013-08-22 12:08:28 UTC
Problem is that plugin elements (with jaxws-maven-plugin execution) are not included to pom.xml.
Comment 4 Milan Kuchtiak 2013-08-26 07:12:49 UTC
Fixed problem with jaxws-maven-plugin plugin insertion (into pom.xml), also
Metro library dependency wasn't included properly.

See:
http://hg.netbeans.org/web-main/rev/54f7230befd3
Comment 5 Milan Kuchtiak 2013-08-28 12:11:52 UTC
Updated also metro library for Maven projects to org.glassfish.metro:webservices-rt:2.3 :
http://hg.netbeans.org/web-main/rev/6bc579f5149f
Comment 6 Quality Engineering 2013-08-29 01:42:04 UTC
Integrated into 'main-silver', will be available in build *201308290001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/6bc579f5149f
User: Milan Kuchtiak <mkuchtiak@netbeans.org>
Log: #224920 update metro library to org.glassfish.metro:webservices-rt:2.3