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 187997 - Maven + Web Service: "Create Web Service from Existing Session Bean" disabled
Summary: Maven + Web Service: "Create Web Service from Existing Session Bean" disabled
Status: RESOLVED INVALID
Alias: None
Product: javaee
Classification: Unclassified
Component: Maven (show other bugs)
Version: 6.x
Hardware: PC Windows 7 x64
: P3 normal with 2 votes (vote)
Assignee: Denis Anisimov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-23 13:18 UTC by puce
Modified: 2011-09-21 07:10 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description puce 2010-06-23 13:18:34 UTC
When creating a new Web Service within a Maven project the "Create Web Service from Existing Session Bean" option is disabled.
Comment 1 Denis Anisimov 2011-09-21 07:10:27 UTC
This is not a bug.
You are trying to create web service in the Maven project which doesn't have target J2EE server ( any Maven project has not predefined J2EE target server because there is no such option in its wizard ).
"Create Web Service from Existing Session Bean" option is enabled only if target J2EE server support JSR 109.
There is no target server so it is impossible to check it against JSR 109.
As result the option is disabled.

To fix this you need to set J2EE target server in your Maven project.
In case it supports JSR 109 the option will be enabled.