Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 332361

Summary: Wrong Service Endpoint Interface with CXF Runtime
Product: [WebTools] WTP Webservices Reporter: Holger Thurow <yxcvbnm>
Component: jst.ws.jaxwsAssignee: Shane Clarke <shane_clarke>
Status: VERIFIED FIXED QA Contact: Shane Clarke <shane_clarke>
Severity: major    
Priority: P3    
Version: unspecified   
Target Milestone: 3.2.4   
Hardware: Macintosh   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

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