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 - Web Service Name configuration ignored
Summary: Web Service Name configuration ignored
Status: RESOLVED WORKSFORME
Alias: None
Product: webservices
Classification: Unclassified
Component: JAX-WS (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P2 normal (vote)
Assignee: Milan Kuchtiak
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-10 21:19 UTC by javydreamercsw
Modified: 2010-11-17 13:40 UTC (History)
0 users

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 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.