(axis-axis2-java-core) branch master updated (44ab9d80a0 -> c4ae9260ed)

2025-02-13 Thread robertlazarski
This is an automated email from the ASF dual-hosted git repository.

robertlazarski pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/axis-axis2-java-core.git


from 44ab9d80a0 AXIS2-6059 Improve logging by default in AxisConfigBuilder
 new 0628d9985b AXIS2-5900 If and else branches has the same condition in 
TribesAxisObserver
 new c4ae9260ed AXIS2-5901 Redundant conditions in an if statement in 
OperationContext.java

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../src/org/apache/axis2/clustering/tribes/TribesAxisObserver.java| 2 --
 modules/kernel/src/org/apache/axis2/context/OperationContext.java | 4 +---
 2 files changed, 1 insertion(+), 5 deletions(-)



(axis-axis2-java-core) 02/02: AXIS2-5901 Redundant conditions in an if statement in OperationContext.java

2025-02-13 Thread robertlazarski
This is an automated email from the ASF dual-hosted git repository.

robertlazarski pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/axis-axis2-java-core.git

commit c4ae9260edbdef84ba2b262b5cb7a34bcca5b2bb
Author: Robert Lazarski 
AuthorDate: Thu Feb 13 04:31:32 2025 -1000

AXIS2-5901 Redundant conditions in an if statement in OperationContext.java
---
 modules/kernel/src/org/apache/axis2/context/OperationContext.java | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/modules/kernel/src/org/apache/axis2/context/OperationContext.java 
b/modules/kernel/src/org/apache/axis2/context/OperationContext.java
index a0951141f6..bacbeef1b5 100644
--- a/modules/kernel/src/org/apache/axis2/context/OperationContext.java
+++ b/modules/kernel/src/org/apache/axis2/context/OperationContext.java
@@ -738,9 +738,7 @@ public class OperationContext extends AbstractContext
 // We only want to (re)register this if it's an outbound message
 String mepString = getAxisOperation().getMessageExchangePattern();
 if (mepString.equals(WSDL2Constants.MEP_URI_OUT_ONLY)
-|| mepString.equals(WSDL2Constants.MEP_URI_OUT_ONLY)
-|| ((mepString.equals(WSDL2Constants.MEP_URI_OUT_IN)
-|| mepString.equals(WSDL2Constants.MEP_URI_OUT_IN))
+|| ((mepString.equals(WSDL2Constants.MEP_URI_OUT_IN))
 && !isComplete)) {
 
 // make sure this OperationContext object is registered in the 



(axis-axis2-java-core) 01/02: AXIS2-5900 If and else branches has the same condition in TribesAxisObserver

2025-02-13 Thread robertlazarski
This is an automated email from the ASF dual-hosted git repository.

robertlazarski pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/axis-axis2-java-core.git

commit 0628d9985b008cccbd3f754317c37bbd2a62d8fb
Author: Robert Lazarski 
AuthorDate: Wed Feb 12 13:36:20 2025 -1000

AXIS2-5900 If and else branches has the same condition in TribesAxisObserver
---
 .../src/org/apache/axis2/clustering/tribes/TribesAxisObserver.java  | 2 --
 1 file changed, 2 deletions(-)

diff --git 
a/modules/clustering/src/org/apache/axis2/clustering/tribes/TribesAxisObserver.java
 
b/modules/clustering/src/org/apache/axis2/clustering/tribes/TribesAxisObserver.java
index 05fec47144..84350b0391 100644
--- 
a/modules/clustering/src/org/apache/axis2/clustering/tribes/TribesAxisObserver.java
+++ 
b/modules/clustering/src/org/apache/axis2/clustering/tribes/TribesAxisObserver.java
@@ -54,8 +54,6 @@ public class TribesAxisObserver implements AxisObserver {
 public void moduleUpdate(AxisEvent axisEvent, AxisModule axisModule) {
 if (axisEvent.getEventType() == AxisEvent.MODULE_DEPLOY) {
 ClassLoaderUtil.addModuleClassLoader(axisModule);
-} else if (axisEvent.getEventType() == AxisEvent.MODULE_DEPLOY) {
-ClassLoaderUtil.removeModuleClassLoader(axisModule);
 }
 }
 



(axis-axis2-java-core) branch master updated: AXIS2-5955 Code generator plugin for Eclipse doesn't work, add axis2-jaxws dep to load class JAXWSServiceBuilderExtension

2025-02-13 Thread robertlazarski
This is an automated email from the ASF dual-hosted git repository.

robertlazarski pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/axis-axis2-java-core.git


The following commit(s) were added to refs/heads/master by this push:
 new dddc10057f AXIS2-5955 Code generator plugin for Eclipse doesn't work, 
add axis2-jaxws dep to load class JAXWSServiceBuilderExtension
dddc10057f is described below

commit dddc10057f359cbbecc571cbd4f2f68b84b61fe2
Author: Robert Lazarski 
AuthorDate: Thu Feb 13 11:21:53 2025 -1000

AXIS2-5955 Code generator plugin for Eclipse doesn't work, add axis2-jaxws 
dep to load class JAXWSServiceBuilderExtension
---
 modules/tool/axis2-eclipse-codegen-plugin/pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/tool/axis2-eclipse-codegen-plugin/pom.xml 
b/modules/tool/axis2-eclipse-codegen-plugin/pom.xml
index f69b12df00..4cd7cd777d 100644
--- a/modules/tool/axis2-eclipse-codegen-plugin/pom.xml
+++ b/modules/tool/axis2-eclipse-codegen-plugin/pom.xml
@@ -101,7 +101,7 @@
 
 
 ${project.groupId}
-axis2-jibx-codegen
+axis2-jaxws
 ${project.version}
 
 



(axis-axis2-java-core) branch master updated: Doc and release notes updates for 2.0.0

2025-02-13 Thread robertlazarski
This is an automated email from the ASF dual-hosted git repository.

robertlazarski pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/axis-axis2-java-core.git


The following commit(s) were added to refs/heads/master by this push:
 new 2f3eb9b51a Doc and release notes updates for 2.0.0
2f3eb9b51a is described below

commit 2f3eb9b51a6c9e0869792525d09e03a28c1f1fa0
Author: Robert Lazarski 
AuthorDate: Thu Feb 13 06:39:14 2025 -1000

Doc and release notes updates for 2.0.0
---
 src/site/markdown/release-notes/2.0.0.md | 23 +--
 src/site/xdoc/docs/http-transport.xml| 17 -
 2 files changed, 25 insertions(+), 15 deletions(-)

diff --git a/src/site/markdown/release-notes/2.0.0.md 
b/src/site/markdown/release-notes/2.0.0.md
index 5456e954ff..abae1cb21f 100644
--- a/src/site/markdown/release-notes/2.0.0.md
+++ b/src/site/markdown/release-notes/2.0.0.md
@@ -2,23 +2,34 @@ Apache Axis2 2.0.0 Release Notes
 
 
 This release marks the transition to jakarta that has been tested with Tomcat 
11
-and Wildfly 32, and is expected to support EE 10 and Spring 6 / Spring Boot 3.
+and Wildfly 32 and above, and is expected to support EE 10 and Spring 6 / 
Spring Boot 3.
 
 The Axis2 project transition to jakarta depends partly on Axiom, which has 
also been updated to 2.0.0.
 
+The JSON support has been updated with many bugs fixed, while the examples have
+been updated to use Spring Boot 3. Axis2 isn't just for SOAP anymore, as some 
committers currently only use JSON in their own projects and not SOAP at all.
+
 The main purpose of the release is to upgrade everything possible to the 
latest,
-and have our Jira issues cleaned up.
+and have our Jira issues cleaned up. Many issues have been fixed. 
+
+New features that may happen in the future are HTTP/2 support and OpenAPI. Let 
us
+know on the dev list if interested.
 
-The most likely way to get a Jira issue fixed is with a GitHub PR, due to 
+The most likely way to get a Jira issue fixed is with a GitHub PR or patch, 
due to 
 the large amount of Axis2 features that are unused by the committers and 
therefore
 difficult to test a fix.
 
+If your Jira issue is unfixed, please reach out and work with the committers on
+some type of code contibution and testing as some issues are just too deep in 
areas that the comitters don't use ourselves.
+
 The 2.0.0 release lacks a few features in previous releases because of a lack 
of 
 adequate GitHub PR's.
 
 These missing features include preemptive basic authentication, though there 
is a work around explained in the Jira issue 
https://issues.apache.org/jira/browse/AXIS2-6055 .
 
-OSGI support is also missing. The state of its dependency Felix and jakarta is 
unclear. This feature has code that is difficult to support and lacks GitHub 
PR's after several attempts
-to gain volunteers. We hope to support oSGI again in 2.0.1.
+OSGI support is also missing. The state of its dependency Felix and jakarta is 
unclear. This feature has code that is difficult to support and lacks GitHub 
PR's after several attempts to gain volunteers. We hope to support OSGI again 
in 2.0.1.
+
+For those interested in Rampart - an optional implementation of WS-Sec* 
standards that depends on Axis2 - they can expect a Rampart 2.0.0 soon that 
isn't expected to add much to the recently released Rampart 1.8.0 which is 
based on the previous Axis2 version, 1.8.2. Mostly that Rampart 2.0.0 release 
will upgrade OpenSAML to 5.x that supports jakarta, while the remaining deps 
that need updates are few.
 
-For those interested in Rampart - an optional implementation of WS-Sec* 
standards that depends on Axis2 - they can expect a Rampart 2.0.0 soon that 
isn't expected to add much to the recently released Rampart 1.8.0 which is 
based on the previous Axis2 version, 1.8.2. 
+Axis2 added two committers recently and after this big jakarta update, the 
community
+can once again expect releases several times a year to fix bugs and resolve 
deps with CVE's.
diff --git a/src/site/xdoc/docs/http-transport.xml 
b/src/site/xdoc/docs/http-transport.xml
index 2f4a4cf123..1d09d080b4 100644
--- a/src/site/xdoc/docs/http-transport.xml
+++ b/src/site/xdoc/docs/http-transport.xml
@@ -118,7 +118,7 @@ set the cached httpclient object when your application 
starts up
 (before any actual axis request). You can set the relevant property
 as shown below by using HTTPConstants.CACHED_HTTP_CLIENT.  
 
-The following code was testing Axis2 on Wildfly 20, the cert was obtained by
+The following code was tested with Axis2 on Wildfly 32, the cert was 
obtained by
 'openssl s_client -connect myserver:8443 -showcerts' 
 
 
@@ -136,20 +136,15 @@ as shown below by using HTTPConstants.CACHED_HTTP_CLIENT. 
 
 throw new Exception("Unexpected default trust managers:" + 
Arrays.toString(trustManagers));
 }
 
-SSLContext sslContext = SSLContext.getInstance("TLSv1.2"

(axis-axis2-java-core) branch master updated: AXIS2-6045 NPE after upgrade to 1.8.2

2025-02-13 Thread robertlazarski
This is an automated email from the ASF dual-hosted git repository.

robertlazarski pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/axis-axis2-java-core.git


The following commit(s) were added to refs/heads/master by this push:
 new e33ddfdd9d AXIS2-6045 NPE after upgrade to 1.8.2
e33ddfdd9d is described below

commit e33ddfdd9d20d6ae80c440421c3dc4dfd3cbb2c9
Author: Robert Lazarski 
AuthorDate: Thu Feb 13 12:06:51 2025 -1000

AXIS2-6045 NPE after upgrade to 1.8.2
---
 modules/kernel/src/org/apache/axis2/description/AxisService.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/kernel/src/org/apache/axis2/description/AxisService.java 
b/modules/kernel/src/org/apache/axis2/description/AxisService.java
index 6d1c0fe099..671d402d25 100644
--- a/modules/kernel/src/org/apache/axis2/description/AxisService.java
+++ b/modules/kernel/src/org/apache/axis2/description/AxisService.java
@@ -1175,7 +1175,7 @@ public class AxisService extends AxisDescription {
 definition = (Definition) wsdlParameter.getValue();
 }
 
-if (!wsdlImportLocationAdjusted) {
+if (!wsdlImportLocationAdjusted && definition != null) {
 changeImportAndIncludeLocations(definition);
 wsdlImportLocationAdjusted = true;
 }