Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 352797 - [DBWS] avoid additional static imports in generated Provider java source
Summary: [DBWS] avoid additional static imports in generated Provider java source
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Eclipselink (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: David McCann CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-21 14:29 EDT by Mike Norman CLA
Modified: 2022-06-09 10:03 EDT (History)
2 users (show)

See Also:


Attachments
Potential fix - UNTESTED (3.17 KB, patch)
2011-08-05 11:03 EDT, David McCann CLA
no flags Details | Diff
Supporting test cases. (19.42 KB, patch)
2011-09-15 14:01 EDT, David McCann CLA
no flags Details | Diff
Supporting test cases. (11.30 KB, patch)
2011-09-16 10:56 EDT, David McCann CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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