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 - @WebServiceRef causing ClassCastException in merged DD model.
Summary: @WebServiceRef causing ClassCastException in merged DD model.
Status: RESOLVED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Code (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Marek Fukala
URL:
Keywords:
Depends on:
Blocks: 80015
  Show dependency tree
 
Reported: 2006-06-28 23:17 UTC by _ pcw
Modified: 2006-07-13 17:03 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
stack trace (799 bytes, text/plain)
2006-06-28 23:17 UTC, _ pcw
Details

Note You need to log in before you can comment on or make changes to this bug.
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