Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #8087-Unable to add new web service client #8228

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

pepness
Copy link
Member

@pepness pepness commented Feb 10, 2025

Fix issue 8087
NetBeans Notes:

  • Add support for Jakarta EE 9/10 plugins for metro, jax-ws, and maven-war-plugin
  • Add support for jakarta namespaces for Jakarta EE 9 and later
  • Change jax-ws group id to com.sun.xml.ws
  • Add instance variables to JaxWsClientCreator that will help with the new logic to support jakarta namespaces and reduce method calls
  • Use constants when possible
  • Use diamond inference
  • Use try-with-resources
  • Increase array size

NetBeans Testing:

  • Verify successful execution of libraries and licenses Ant test
  • Verify successful execution of Verify Sigtests
  • Verify successful execution of unit tests for modules maven.jaxws
  • Started NetBeans and ensure the log didn't have any ERROR or new WARNINGS
  • Successfully register GlassFish 5/6/7
    • Create a Jakarta EE 8/9/10 maven web app and create a new Web Service from WSDL
      • Verify that it creates a new Web Service
      • Verify that the generated sources are using the correct version plugins
      • Verify that the generated sources are using the correct namespace

Jakarta EE 8
Screenshot from 2025-02-10 15-19-47
Jakarta EE 9
Screenshot from 2025-02-10 15-19-40
Jakarta EE 10
Screenshot from 2025-02-10 15-19-29

 maven-war-plugin
-Add support for jakarta namespaces for Jakarta EE 9 and later
-Change jax-ws group id to 'com.sun.xml.ws'
-Add instance variables to 'JaxWsClientCreator' that will help with the
 new logic to support jakarta namespaces and reduce method calls
-Use constants when possible
-Use diamond inference
-Use try-with-resources
-Increase array size
@pepness pepness added Java EE/Jakarta EE [ci] enable enterprise job enterprise [ci] enable enterprise job labels Feb 10, 2025
@pepness pepness added this to the NB26 milestone Feb 10, 2025
@pepness pepness self-assigned this Feb 10, 2025
@pepness pepness linked an issue Feb 10, 2025 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enterprise [ci] enable enterprise job Java EE/Jakarta EE [ci] enable enterprise job
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unable to add new web service client
1 participant