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 189366

Summary: Web Service Name configuration ignored
Product: webservices Reporter: javydreamercsw <javydreamercsw>
Component: JAX-WSAssignee: Milan Kuchtiak <mkuchtiak>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: P2    
Version: 6.x   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:

Description javydreamercsw 2010-08-10 21:19:52 UTC
When following the JAX-WS wizard the specified web service name is not propagated to generated wsdl and xsd files which are defaulted to <name>Service.

This might be Ok for projects done from scratch but if you are migrating an exisiting project with lots of users you would like to keep the Endpoint information the same.

So my current endpoint is <url>/Xinco but the one generated would be <url>/XincoService. I tried doing it manually but is really tedious just to have it overwritten when the code is regenerated.
Comment 1 Milan Kuchtiak 2010-08-13 12:20:36 UTC
Fixed.
Generated @WebService(serviceName="...") attribute to force server using this name:
http://hg.netbeans.org/web-main/rev/c53529276019
Comment 2 Quality Engineering 2010-08-17 03:14:36 UTC
Integrated into 'main-golden', will be available in build *201008170001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/c53529276019
User: mkuchtiak@netbeans.org
Log: #189366 generate serviceName attribute in WS wizards
Comment 3 javydreamercsw 2010-08-30 20:33:20 UTC
I got an error trying this new feature an dfiled issue #189997 which I think is related to this one or created by this new feature.
Comment 4 Milan Kuchtiak 2010-08-31 11:32:58 UTC
See the comment in issue 189997.