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

Bug 282935

Summary: Add support for creating and editing JAXB 2.1 annotations
Product: [WebTools] WTP Webservices Reporter: Shane Clarke <shane_clarke>
Component: jst.ws.jaxwsAssignee: Project Inbox <wtp.inc.jaxws-inbox>
Status: RESOLVED FIXED QA Contact: Shane Clarke <shane_clarke>
Severity: enhancement    
Priority: P3 CC: keith.chong.ca
Version: unspecifiedKeywords: plan
Target Milestone: 3.2 M3   
Hardware: PC   
OS: Windows XP   
Whiteboard: jaxws

Description Shane Clarke CLA 2009-07-08 17:56:18 EDT
In JAX-WS data binding related tasks are delegated to JAXB.

JAXB annotations may also be generated by Java to WSDL and WSDL to Java tools.

To enable the creation and editing of the JAXB annotations using the annotations properties view we need to provide extensions to the org.eclipse.jst.ws.annotations.core.annotationDefinition extension point adding a JAXB category and the JAXB annotations.
Comment 1 Oisin Hurley CLA 2009-09-14 09:28:11 EDT
Ready to go for a commit later -
  * new JAXB annotation category,
  * extensions for all JAXB 2.1 annotations, as defined by the spec,
  * unit tests to check insertion and deletion of Package-level annotations
  
  Some updates to 
     org.eclipse.jst.ws.annotations.core
     org.eclipse.jst.ws.jaxws.ui
     
  for dealing with Package-level annotations.
  
  There is a minor cosmetic issue in that when you add an annotation 
  to a package, there's no newline inserted -
   
  @XmlSchema()package com.example;
  import javax.xml.bind.annotation.XmlSchema;
  
  but I don't think that's enough not to commit this later today.
Comment 2 Oisin Hurley CLA 2009-09-21 08:21:36 EDT
Released to build, build and test clear. Please re-open if there any issues that I've missed.