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 97908

Summary: "New Web Service client from WSDL" and "New Web Service from WSDL" wizard fails to create artifacts
Product: webservices Reporter: James Tran <jdtran88>
Component: CodeAssignee: Roderico Cruz <rcruz>
Status: VERIFIED FIXED    
Severity: blocker CC: mkuchtiak, pvarghese
Priority: P1    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: Screenshot
WSDL with JMS binding used
XSD imported by WSDL

Description James Tran 2007-03-14 23:51:09 UTC
Using Hula build ide-hula-070313_15.zip.

When creating an EJB based web service using the "New Web Service from WSDL" 
wizard, the wizard fails retrieve the only service port defined in the WSDL 
services definition.  In addition, the "Browse" button to manually select the 
service port is grayed out.  This prevents the user from advancing to the next 
dialog screen of the wizard.
Comment 1 James Tran 2007-03-14 23:54:07 UTC
Created attachment 39496 [details]
Screenshot
Comment 2 James Tran 2007-03-15 23:16:32 UTC
Created attachment 39564 [details]
WSDL with JMS binding used
Comment 3 James Tran 2007-03-15 23:17:12 UTC
Created attachment 39565 [details]
XSD imported by WSDL
Comment 4 Roderico Cruz 2007-03-26 17:54:06 UTC
The metamodel for EJB in NB 6.0 is not yet complete. See
http://www.netbeans.org/issues/show_bug.cgi?id=98272 and
http://www.netbeans.org/issues/show_bug.cgi?id=95531
Comment 5 Srividhya Narayanan 2007-03-26 20:19:51 UTC
Is this related to 95534? Lukas mentioned it may be an issue with the used WSDL.
Can you pls look at this?
Comment 6 _ gmpatil 2007-03-27 01:10:05 UTC
With latest Hula build Build070326_7, problem still exists.

Also unable to create Webservices client from WSDL. 
Changing the priority as using Hula build one can not create Webservice or
Webservice client/reference using WSDL.
Comment 7 Lukas Jungmann 2007-03-27 09:48:24 UTC
New ws client wizard works in recent NB build (I used
http://xignite14.xignite.com/xcalendar.asmx?WSDL - Can I ask you to try it with
this WSDL file as well, please?)

In case of ws from wsdl there one cannot choose the port to use and there's
currently a NPE being thrown after finishing the wizard: 

     [exec] SEVERE
     [exec] java.lang.NullPointerException
     [exec]     at
org.netbeans.modules.websvc.core.dev.wizard.JaxWsServiceCreator.generateWsFromWsdl15(JaxWsServiceCreator.java:380)
     [exec]     at
org.netbeans.modules.websvc.core.dev.wizard.JaxWsServiceCreator.access$100(JaxWsServiceCreator.java:64)
     [exec] [catch] at
org.netbeans.modules.websvc.core.dev.wizard.JaxWsServiceCreator$2.run(JaxWsServiceCreator.java:121)
     [exec]     at
org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:541)
Comment 9 Milan Kuchtiak 2007-03-28 09:05:09 UTC
*** Issue 98419 has been marked as a duplicate of this issue. ***
Comment 10 Lukas Jungmann 2007-06-11 20:27:49 UTC
jdtran88, can you verify this, please? Thanks.
Comment 11 Jaroslav Pospisil 2008-01-30 14:19:59 UTC
v.