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 107562 - service-ref-name is incorrect in the merged dd model
Summary: service-ref-name is incorrect in the merged dd model
Status: VERIFIED FIXED
Alias: None
Product: webservices
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Milan Kuchtiak
URL:
Keywords:
Depends on: 101395
Blocks: 97613
  Show dependency tree
 
Reported: 2007-06-21 02:39 UTC by Peter Liu
Modified: 2008-01-30 14:20 UTC (History)
2 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 Peter Liu 2007-06-21 02:39:26 UTC
The service-ref-name retrieved from the merged dd model is incorrect.  For example, if the @WebServiceRef annotation is
on the "service" field of x.TestServlet, the reference name should be "x.TestServlet/service".  Instead, the DD model
returns "service/HelloServiceService" where "HelloServiceService" is the name of the web service client node.
Comment 1 Milan Kuchtiak 2007-06-22 09:49:38 UTC
I suppose this is an Appserver convention ?

I was looking at JAX-WS specification and I haven't found any recommendation how service-ref-name should be construct if
@WebServiceRef:name attribute is missing.

Anyway, I've implemented that as you required.

Diffs:
http://j2ee.netbeans.org/source/browse/j2ee/ddapi/src/org/netbeans/modules/j2ee/dd/impl/common/annotation/ServiceRefImpl.java?r1=1.3&r2=1.4
http://j2ee.netbeans.org/source/browse/j2ee/ddapi/src/org/netbeans/modules/j2ee/dd/impl/common/annotation/CommonAnnotationHelper.java?r1=1.5&r2=1.6
Comment 2 Jaroslav Pospisil 2008-01-30 14:20:35 UTC
v.