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

Bug 352797

Summary: [DBWS] avoid additional static imports in generated Provider java source
Product: z_Archived Reporter: Mike Norman <michael.norman>
Component: EclipselinkAssignee: David McCann <david.mccann>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: david.mccann, eclipselink.dbws-inbox
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
Potential fix - UNTESTED
none
Supporting test cases.
none
Supporting test cases. none

Description Mike Norman CLA 2011-07-21 14:29:01 EDT

    
Comment 1 Mike Norman CLA 2011-07-21 14:29:57 EDT
In the generated DBWSProvider.java the following static imports are generated
irrespective of the SOAPBinding setting

import static javax.xml.ws.soap.SOAPBinding.SOAP11HTTP_MTOM_BINDING;
import static javax.xml.ws.soap.SOAPBinding.SOAP12HTTP_BINDING;
import static javax.xml.ws.soap.SOAPBinding.SOAP12HTTP_MTOM_BINDING;
Comment 2 David McCann CLA 2011-08-05 11:03:43 EDT
Created attachment 200993 [details]
Potential fix - UNTESTED
Comment 3 David McCann CLA 2011-09-15 14:01:12 EDT
Created attachment 203430 [details]
Supporting test cases.
Comment 4 David McCann CLA 2011-09-16 10:56:08 EDT
Created attachment 203492 [details]
Supporting test cases.
Comment 5 David McCann CLA 2011-09-16 11:58:07 EDT
Fix checked into 2.3.1, revision# 10102
Fix checked into 2.4.0, revision# 10103

Reviewed by:  michael.norman@oracle.com
Tests:  ProviderWebServiceTestSuite;  all unit tests pass as expected
Comment 6 Eclipse Webmaster CLA 2022-06-09 10:03:03 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink