Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 123339 - Cannot create client code when producer is in the same project
Summary: Cannot create client code when producer is in the same project
Status: CLOSED DUPLICATE of bug 118623
Alias: None
Product: WTP Webservices
Classification: WebTools
Component: wst.ws (show other bugs)
Version: 0.7   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: wst.ws CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-10 17:09 EST by Ben Lindahl CLA
Modified: 2006-06-29 14:11 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ben Lindahl CLA 2006-01-10 17:09:31 EST
Auto-creation of web service client code does not work when you generated the web service from a class in the web services project, and you then generate client code from the same wsdl.  It assumes that the implementation class is an interface and uses is as an interface, and give you no messages stating that there is a conflict (I assume that this is because the part that generates the interface fails because of a class conflict).

Steps to reproduce:
1) Create a class with some method
2) Right click on that class > Web Services > Create Web Service
3) Complete the wizard
4) Right click on the generated WSDL -> Web Services -> Generate Client

Two compilation will display in the Problems view: Unhandled exception type RemoteException, and The Type X cannot be a superinterface of XProxy; a superinterface must be an interface
Comment 1 Chris Brealey CLA 2006-01-10 17:24:54 EST
Duplicate of bug 118623. JAX-RPC Web service clients don't coexist at all well in the same project hosting the service. We have an algorithm in mind to detect such collisions before they happen and guide generation of your client into another project. We're hoping to tackle this in WTP 1.5.

*** This bug has been marked as a duplicate of 118623 ***
Comment 2 Chris Brealey CLA 2006-06-29 14:11:29 EDT
Closed.