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 79374

Summary: @WebServiceRef causing ClassCastException in merged DD model.
Product: javaee Reporter: _ pcw <pcw>
Component: CodeAssignee: Marek Fukala <mfukala>
Status: RESOLVED FIXED    
Severity: blocker CC: pjiricka
Priority: P3    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 80015    
Attachments: stack trace

Description _ pcw 2006-06-28 23:17:26 UTC
Create a JaxWS web service in a web app (all defaults plus choose a package
name) and deployed it to Glassfish.
Create a second web app and add a web service client using WSDL from URL (using
the ...[servicename]?WSDL URL to get the wsdl from your service in step 1)

Now create a servlet and select "Web Service Client Resources | Call Web Service
Operation".

After the @WebServiceRef annotation is added, you'll get the exception (4 times).  

If you restart the IDE, it'll be thrown again after scanning is finished and the
merged provider sends out it's initialization events.
Comment 1 _ pcw 2006-06-28 23:17:46 UTC
Created attachment 31488 [details]
stack trace
Comment 2 _ pcw 2006-06-28 23:30:15 UTC
BTW, This bug does _not_ appear to affect the sending of events from merged dd
provider events to any listener (eg. the config code in the SJSAS plugin).
Comment 3 Marek Fukala 2006-07-03 17:06:46 UTC
It's in my code ... taking over
Comment 4 Marek Fukala 2006-07-13 17:03:56 UTC
fixed

Checking in WebNNListener.java;
/cvs/j2ee/ddapi/src/org/netbeans/modules/j2ee/dd/impl/web/Attic/WebNNListener.java,v
 <--  WebNNListener.java
new revision: 1.1.2.13; previous revision: 1.1.2.12
done