Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 332361 - Wrong Service Endpoint Interface with CXF Runtime
Summary: Wrong Service Endpoint Interface with CXF Runtime
Status: VERIFIED FIXED
Alias: None
Product: WTP Webservices
Classification: WebTools
Component: jst.ws.jaxws (show other bugs)
Version: unspecified   Edit
Hardware: Macintosh Mac OS X - Carbon (unsup.)
: P3 major (vote)
Target Milestone: 3.2.4   Edit
Assignee: Shane Clarke CLA
QA Contact: Shane Clarke CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-11 09:54 EST by Holger Thurow CLA
Modified: 2011-03-27 11:13 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 Holger Thurow CLA 2010-12-11 09:54:28 EST
Build Identifier: 20100917-0705

When automatically creating an ESI the generated interface starts with

@WebService(name = "SEI", targetNamespace = "http://default_package/")
import javax.jws.WebService;
...

what is wrong. It has to be

import javax.jws.WebService;
@WebService(name = "SEI", targetNamespace = "http://default_package/")

Reproducible: Always

Steps to Reproduce:
1. Select the class to make a web service from in the project explorer.
2. Right click and choose from the context menu Web Services > Create Web Service.
3. Configure with Web Service Runtime "Apache CXF" and deploy service.
4. In the next window "Apache CXF 2.3.0 Web Service Starting Point Configuration" check "Use a Service Endpoint Interface" and "Create an SEI"
5. In the next window a preview will be shown of the generated SEI with the two lines in wrong order.
Comment 1 Holger Thurow CLA 2010-12-11 10:06:37 EST
The problem only appears when the class to make a web service from resides in the default package.
Comment 2 Keith Chong CLA 2011-02-24 16:50:28 EST
Hi Shane, over to you.
Comment 3 Shane Clarke CLA 2011-03-26 17:38:43 EDT
Fix committed to maintenance branch. Fix will be available in WTP 3.2.4 and WTP 3.3.0
Comment 4 Shane Clarke CLA 2011-03-27 11:13:12 EDT
Fix verified in M-3.2.4-20110327081707