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 177144

Summary: refreshing wsdl on the web service created from one
Product: soa Reporter: teodoro <teodoro>
Component: Binding ComponentsAssignee: Venkat Chellasamy <vchellasamy>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 6.x   
Hardware: Sun   
OS: Solaris   
Issue Type: DEFECT Exception Reporter:

Description teodoro 2009-11-18 17:20:20 UTC
Starting from a wsdl file and creating (generating) an web service from the wsdl, in my case on the ejb container, works fine.

If after making changes on wsdl and refreshing service to update web service,  a new stub is crteated and old code is copied to another filed with suffix "old".

Although the same sequence is repeated it replaces file with suffix "old" with the new empty stub. 

It would be better if suffix "old" had a version like "old.2" and files are kept. 

Steps to reproduce,
create a schema file (xsd),
create a wsdl and use the schema.
create a web service from wsdl.
---
change schema file.
---
refresh service 
---
check the new stub and old code.
---
refresh service again.