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 56928

Summary: [client] helper methods are generated more then once
Product: webservices Reporter: Lukas Jungmann <jungi>
Component: CodeAssignee: Martin Grebac <mgrebac>
Status: CLOSED FIXED    
Severity: blocker    
Priority: P3    
Version: 4.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Lukas Jungmann 2005-03-24 13:15:37 UTC
[200503231900]

   Have websvc client for websvc. Create new servlet and call some websvc
operation twice. Now you have two pairs of 

    private pkg.<serviceName>Service get<serviceName>Service()
    private pkg.<serviceName>Port get<serviceName>Port() 

methods in your servlet and it becomes uncompilable until user removes
duplicated methods manually
Comment 1 _ pcw 2005-03-25 05:17:02 UTC
Looks like a regression caused by the fix for bug #50222.  Code that used to
check for the existence of delegates is no longer present.
Comment 2 _ pcw 2005-03-25 05:43:06 UTC
Martin, do you have time to resolve this?
Comment 3 Martin Grebac 2005-03-25 09:18:05 UTC
Yes, I'll fix it.
Comment 4 Martin Grebac 2005-03-25 17:32:24 UTC
Fixed in trunk:
Checking in InvokeOperationAction.java;
/cvs/websvc/core/src/org/netbeans/modules/websvc/core/client/actions/InvokeOperationAction.java,v
 <--  InvokeOperationAction.java
new revision: 1.9; previous revision: 1.8
done
Comment 5 Lukas Jungmann 2005-04-03 23:57:00 UTC
v. 200504031800