(axis-axis2-java-core) branch dependabot/maven/jaxbri.version-4.0.5 updated (735aec669e -> 058b479c44)

2025-03-03 Thread cortlepp
This is an automated email from the ASF dual-hosted git repository.

cortlepp pushed a change to branch dependabot/maven/jaxbri.version-4.0.5
in repository https://gitbox.apache.org/repos/asf/axis-axis2-java-core.git


from 735aec669e Bump jaxbri.version from 4.0.3 to 4.0.5
 add 093ea86f7f Bump groovy.version from 4.0.23 to 4.0.24
 add 6e2b4cbb61 fix: possible infinite recursion in 
Options.getSoapVersionURI (#AXIS2-6043)
 add 1ff6b165a3 Merge pull request #797 from cortlepp/fix/AXIS2-6043
 add dead702a02 fix: remove minimum build version in idea plugin 
(#AXIS2-6037)
 add dd7468386a Merge pull request #801 from cortlepp/fix/AXIS2-6037
 add 247d04e0f6 fix: correct http proxy configuration precedence 
(#AXIS2-6044)
 add 20eff9e9f4 Merge pull request #796 from cortlepp/fix/AXIS2-6044
 add ba8312400a AXIS2-5964 AbstractJSONMessageFormatter NOT using 
CharSetEncoding when reding Json string Bytes
 add eb64b9dc4e AXIS2-5964 AbstractJSONMessageFormatter NOT using 
CharSetEncoding when reding Json string Bytes
 add a1ea6835da AXIS2-5929 REST GET request using Accept HTTP Header to 
indicate JSON, does not working
 add 44ed7a57b5 AXIS2-5929 REST GET request using Accept HTTP Header to 
indicate JSON, does not working
 add f18df761b9 Bump activemq.version from 6.1.3 to 6.1.4
 add dabdb1a4b8 site-deploy is not finding our JavaDoc, so fix that with 
some maven-resources-plugin config
 add e288b46f1a Remove unused parent pom.xml var to support the commented 
out dependency jsr311, which has been replaced by jakarta.ws.rs-api
 add e6cb77bbff Bump tomcat.version from 11.0.0 to 11.0.1
 add 089f97929e Bump spring.version from 6.1.14 to 6.2.0
 add cf4ba493df Bump com.icegreen:greenmail from 2.1.0 to 2.1.1
 add af82f167a3 Fix and update the springbootdemo
 add e910954a7d Bump commons-io:commons-io from 2.17.0 to 2.18.0
 add a389e4f20e Fix broken HTTP / HTTPS config in the springbootdemo
 add 8a83cf2fdb AXIS2-6076 some updates on OSGi support however the unit 
tests are broken and there may not be further development without community 
support due to the complexity and lack of users
 add 4ed6da3a15 Bump org.owasp.esapi:esapi
 add 4283030fe0 Bump org.eclipse.platform:org.eclipse.ui.ide from 3.22.300 
to 3.22.400
 add a6755b56f1 Bump org.eclipse.platform:org.eclipse.swt from 3.127.0 to 
3.128.0
 add ecc33c0e25 Bump org.eclipse.platform:org.eclipse.core.resources
 add 1d13ce9bcb Bump org.eclipse.platform:org.eclipse.osgi from 3.21.0 to 
3.22.0
 add 4bbcb381bb Bump org.eclipse.platform:org.eclipse.ui.workbench
 add 4eef0f1860 Bump org.eclipse.platform:org.eclipse.core.runtime
 add bc746376cc Bump org.eclipse.platform:org.eclipse.equinox.common
 add 713fd9e4ac Bump org.eclipse.platform:org.eclipse.swt.win32.win32.x86_64
 add be63ecba56 Bump org.eclipse.platform:org.eclipse.jface from 3.35.0 to 
3.35.100
 add af1cf5c9a7 Bump moshi.version from 1.15.1 to 1.15.2
 add 0eab7e517b Bump com.icegreen:greenmail from 2.1.1 to 2.1.2
 add d4260fa0f3 Bump tomcat.version from 11.0.1 to 11.0.2
 add 9845dbfddf Bump jetty.version from 12.0.15 to 12.0.16
 add 2fbac97752 Bump spring.version from 6.2.0 to 6.2.1
 add 8d363b4b45 Bump org.apache.maven.plugins:maven-invoker-plugin from 
3.8.1 to 3.9.0
 add 8729044b05 Bump org.apache.maven.plugins:maven-javadoc-plugin from 
3.11.1 to 3.11.2
 add 3ba7f5fa95 AXIS2-6073, fix HTTPS support by getting 'scheme' from URI 
instance
 add 149500a79b Disable updates for google-java-format
 add d006f74b44 Bump com.google.guava:guava from 33.3.1-jre to 33.4.0-jre
 add b806fcd6a4 Bump org.junit.jupiter:junit-jupiter from 5.11.3 to 5.11.4
 add c5d6013345 Fix the latest version of log4j, which has some type of 
config dependency on OSGi and Bnd tool that requires an empty 
_bundleannotations XML element
 add 05bf6849a4 Bump org.assertj:assertj-core from 3.26.3 to 3.27.0
 add b1a5891bd0 Bump org.assertj:assertj-core from 3.27.0 to 3.27.1
 add 645bea6b22 Bump org.mockito:mockito-core from 5.14.2 to 5.15.2
 add 4b91064b81 Bump org.codehaus.gmavenplus:gmavenplus-plugin from 4.0.1 
to 4.1.1
 add 483644b71c Bump org.apache.httpcomponents.core5:httpcore5 from 5.3.1 
to 5.3.2
 add 587b938591 Bump org.assertj:assertj-core from 3.27.1 to 3.27.2
 add ba5c0c5a34 Bump spring.version from 6.2.1 to 6.2.2
 add 8200186ca9 Bump activemq.version from 6.1.4 to 6.1.5
 add dbc1e6a4d0 Bump org.assertj:assertj-core from 3.27.2 to 3.27.3
 add d1f84e197b Bump org.apache.httpcomponents.core5:httpcore5 from 5.3.2 
to 5.3.3
 add 08bcde1ba6 Bump groovy.version from 4.0.24 to 4.0.25
 add 28975c5194 Bump com.google.code.gson:gson from 2.11.0 to 2.12.1
 add c618aca6cb Bump org.apache.httpcomponents.client5:httpclient5 from 
5.4.1 to 5.4.2
 add 54855815e4 Bump axiom to 2.0.0
 add 0e2d4a3307 Bump com.icegreen:greenmail fro

(axis-axis2-java-core) branch dependabot/maven/org.mockito-mockito-core-5.16.0 created (now c15f585955)

2025-03-03 Thread github-bot
This is an automated email from the ASF dual-hosted git repository.

github-bot pushed a change to branch 
dependabot/maven/org.mockito-mockito-core-5.16.0
in repository https://gitbox.apache.org/repos/asf/axis-axis2-java-core.git


  at c15f585955 Bump org.mockito:mockito-core from 5.15.2 to 5.16.0

No new revisions were added by this update.



(axis-axis2-java-core) branch master updated: AXIS2-6061 make it easier to customize the error response

2025-03-03 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 ea99a3061e AXIS2-6061 make it easier to customize the error response
ea99a3061e is described below

commit ea99a3061ea8a3b3f384659664d2031351d345b3
Author: Robert Lazarski 
AuthorDate: Mon Mar 3 02:28:35 2025 -1000

AXIS2-6061 make it easier to customize the error response
---
 .../src/main/java/org/apache/axis2/transport/http/AxisServlet.java| 4 
 1 file changed, 4 insertions(+)

diff --git 
a/modules/transport/http/src/main/java/org/apache/axis2/transport/http/AxisServlet.java
 
b/modules/transport/http/src/main/java/org/apache/axis2/transport/http/AxisServlet.java
index 16195b76fb..8bbf935339 100644
--- 
a/modules/transport/http/src/main/java/org/apache/axis2/transport/http/AxisServlet.java
+++ 
b/modules/transport/http/src/main/java/org/apache/axis2/transport/http/AxisServlet.java
@@ -458,6 +458,10 @@ public class AxisServlet extends HttpServlet {
 (HttpServletResponse) 
msgContext.getProperty(HTTPConstants.MC_HTTP_SERVLETRESPONSE);
 if (response != null) {
 
+   // AXIS2-6061 make it easier to customize the error response in the 
method writeTo()
+   // of the Message Formatter classes ... HTTPConstants.RESPONSE_CODE 
was until now unused
+faultContext.setProperty(HTTPConstants.RESPONSE_CODE, 
response.getStatus());
+
 //TODO : Check for SOAP 1.2!
 SOAPFaultCode code = 
faultContext.getEnvelope().getBody().getFault().getCode();
 



(axis-axis2-java-core) 02/04: Code clean up in JSONMessageHandler classes

2025-03-03 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 3fadd47dfc432398839d2250286892b04aa04526
Author: Robert Lazarski 
AuthorDate: Mon Mar 3 10:02:44 2025 -1000

Code clean up in JSONMessageHandler classes
---
 modules/json/src/org/apache/axis2/json/gson/JSONMessageHandler.java  | 3 +--
 modules/json/src/org/apache/axis2/json/moshi/JSONMessageHandler.java | 4 +---
 2 files changed, 2 insertions(+), 5 deletions(-)

diff --git 
a/modules/json/src/org/apache/axis2/json/gson/JSONMessageHandler.java 
b/modules/json/src/org/apache/axis2/json/gson/JSONMessageHandler.java
index 9a5e72732f..f64c90999f 100644
--- a/modules/json/src/org/apache/axis2/json/gson/JSONMessageHandler.java
+++ b/modules/json/src/org/apache/axis2/json/gson/JSONMessageHandler.java
@@ -75,8 +75,7 @@ public class JSONMessageHandler extends AbstractHandler {
 } else {
 log.debug("JSON MessageReceiver found, proceeding with the 
JSON request");
 Object tempObj = 
msgContext.getProperty(JsonConstant.IS_JSON_STREAM);
-if (tempObj != null) {
-boolean isJSON = Boolean.valueOf(tempObj.toString());
+if (tempObj != null && Boolean.valueOf(tempObj.toString()) {
 Object o = 
msgContext.getProperty(JsonConstant.GSON_XML_STREAM_READER);
 if (o != null) {
 GsonXMLStreamReader gsonXMLStreamReader = 
(GsonXMLStreamReader) o;
diff --git 
a/modules/json/src/org/apache/axis2/json/moshi/JSONMessageHandler.java 
b/modules/json/src/org/apache/axis2/json/moshi/JSONMessageHandler.java
index fdacd5da8e..7ad41bb1c8 100644
--- a/modules/json/src/org/apache/axis2/json/moshi/JSONMessageHandler.java
+++ b/modules/json/src/org/apache/axis2/json/moshi/JSONMessageHandler.java
@@ -76,7 +76,6 @@ public class JSONMessageHandler extends AbstractHandler {
 log.debug("JSON MessageReceiver found, proceeding with the 
JSON request");
 Object tempObj = 
msgContext.getProperty(JsonConstant.IS_JSON_STREAM);
 if (tempObj != null) {
-boolean isJSON = Boolean.valueOf(tempObj.toString());
 Object o = 
msgContext.getProperty(JsonConstant.MOSHI_XML_STREAM_READER);
 if (o != null) {
 MoshiXMLStreamReader moshiXMLStreamReader = 
(MoshiXMLStreamReader) o;
@@ -100,8 +99,7 @@ public class JSONMessageHandler extends AbstractHandler {
 log.debug("On enableJSONOnly=true Axis operation is null on 
JSON request, message hasn't been dispatched to an operation, proceeding on 
JSON message name discovery and AxisOperation mapping");
 try{
 Object tempObj = 
msgContext.getProperty(JsonConstant.IS_JSON_STREAM);
-if (tempObj != null) {
-boolean isJSON = Boolean.valueOf(tempObj.toString());
+if (tempObj != null && Boolean.valueOf(tempObj.toString()) 
{
 Object o = 
msgContext.getProperty(JsonConstant.MOSHI_XML_STREAM_READER);
 if (o != null) {
 MoshiXMLStreamReader moshiXMLStreamReader = 
(MoshiXMLStreamReader) o;



(axis-axis2-java-core) 04/04: module docs updates for logging sample

2025-03-03 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 3088c94c396c9699d301b39890c7aa2dac0eb1c5
Author: Robert Lazarski 
AuthorDate: Mon Mar 3 10:33:09 2025 -1000

module docs updates for logging sample
---
 modules/json/src/org/apache/axis2/json/moshi/JSONMessageHandler.java | 2 +-
 src/site/xdoc/docs/modules.xml   | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git 
a/modules/json/src/org/apache/axis2/json/moshi/JSONMessageHandler.java 
b/modules/json/src/org/apache/axis2/json/moshi/JSONMessageHandler.java
index 404be6bc03..b9d7b7f553 100644
--- a/modules/json/src/org/apache/axis2/json/moshi/JSONMessageHandler.java
+++ b/modules/json/src/org/apache/axis2/json/moshi/JSONMessageHandler.java
@@ -75,7 +75,7 @@ public class JSONMessageHandler extends AbstractHandler {
 } else {
 log.debug("JSON MessageReceiver found, proceeding with the 
JSON request");
 Object tempObj = 
msgContext.getProperty(JsonConstant.IS_JSON_STREAM);
-if (tempObj != null) {
+if (tempObj != null && Boolean.valueOf(tempObj.toString())) {
 Object o = 
msgContext.getProperty(JsonConstant.MOSHI_XML_STREAM_READER);
 if (o != null) {
 MoshiXMLStreamReader moshiXMLStreamReader = 
(MoshiXMLStreamReader) o;
diff --git a/src/site/xdoc/docs/modules.xml b/src/site/xdoc/docs/modules.xml
index 3d80244237..2fbfd3266f 100644
--- a/src/site/xdoc/docs/modules.xml
+++ b/src/site/xdoc/docs/modules.xml
@@ -166,7 +166,7 @@ class of the module (in this example it is the 
"LoggingModule"
 class and various handlers that will run in different phases). The
 "module.xml" for the logging module will be as follows:
 
-
+

 
 
@@ -316,7 +316,7 @@ configuration descriptions for the logging module, and by 
changing
 the "axis2.xml" we created the required phases for the logging
 module.
 Next step is to "engage" (use) this module in one of our
-services. For this, let's use the same Web service that we have
+services. (Hint: it is often easier to edit the axis2.xml for global logging). 
For this, let's use the same Web service that we have
 used throughout the user's guide- MyService. However, since we need
 to modify the "services.xml" of MyService in order to engage this
 module, we use a separate Web service, but with similar



(axis-axis2-java-core) 01/04: remove obsolete HTTPClient constants for 3.x and 4.x

2025-03-03 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 33f6b1d6bca702c9de20d2da6e60dd39cefc418c
Author: Robert Lazarski 
AuthorDate: Mon Mar 3 09:58:25 2025 -1000

remove obsolete HTTPClient constants for 3.x and 4.x
---
 .../axis2/transport/http/AbstractHTTPTransportSender.java |  2 +-
 .../java/org/apache/axis2/transport/http/AxisServlet.java | 15 ---
 .../axis2/transport/http/HTTPTransportConstants.java  |  3 +--
 .../http/impl/httpclient5/HTTPClient5TransportSender.java |  2 +-
 4 files changed, 7 insertions(+), 15 deletions(-)

diff --git 
a/modules/transport/http/src/main/java/org/apache/axis2/transport/http/AbstractHTTPTransportSender.java
 
b/modules/transport/http/src/main/java/org/apache/axis2/transport/http/AbstractHTTPTransportSender.java
index 75fd48edca..ea1e750d5f 100644
--- 
a/modules/transport/http/src/main/java/org/apache/axis2/transport/http/AbstractHTTPTransportSender.java
+++ 
b/modules/transport/http/src/main/java/org/apache/axis2/transport/http/AbstractHTTPTransportSender.java
@@ -495,7 +495,7 @@ public abstract class AbstractHTTPTransportSender extends 
AbstractHandler implem
 
 public void setHTTPClientVersion(ConfigurationContext 
configurationContext) {
 
configurationContext.setProperty(HTTPTransportConstants.HTTP_CLIENT_VERSION,
-HTTPTransportConstants.HTTP_CLIENT_3_X_VERSION);
+HTTPTransportConstants.HTTP_CLIENT_5_X_VERSION);
 }
 
 }
diff --git 
a/modules/transport/http/src/main/java/org/apache/axis2/transport/http/AxisServlet.java
 
b/modules/transport/http/src/main/java/org/apache/axis2/transport/http/AxisServlet.java
index ec63e2e518..e73e4a 100644
--- 
a/modules/transport/http/src/main/java/org/apache/axis2/transport/http/AxisServlet.java
+++ 
b/modules/transport/http/src/main/java/org/apache/axis2/transport/http/AxisServlet.java
@@ -589,17 +589,10 @@ public class AxisServlet extends HttpServlet {
 // AXIS2-4898: MultiThreadedHttpConnectionManager starts a thread that 
is not stopped by the
 // shutdown of the connection manager. If we want to avoid a resource 
leak, we need to call
 // shutdownAll here.
-// TODO - This action need be changed according to current HTTPClient.
-String clientVersion = getHTTPClientVersion();
-if (clientVersion != null
-&& 
HTTPTransportConstants.HTTP_CLIENT_4_X_VERSION.equals(clientVersion)) {
-// TODO - Handle for HTTPClient 4
-} else {
-try {
-
Class.forName("org.apache.commons.httpclient.MultiThreadedHttpConnectionManager").getMethod("shutdownAll").invoke(null);
-} catch (Exception ex) {
-log.warn("Failed to shut down 
MultiThreadedHttpConnectionManager", ex);
-}
+try {
+
Class.forName("org.apache.commons.httpclient.MultiThreadedHttpConnectionManager").getMethod("shutdownAll").invoke(null);
+} catch (Exception ex) {
+log.error("Failed to shut down 
MultiThreadedHttpConnectionManager", ex);
 }
 
 }
diff --git 
a/modules/transport/http/src/main/java/org/apache/axis2/transport/http/HTTPTransportConstants.java
 
b/modules/transport/http/src/main/java/org/apache/axis2/transport/http/HTTPTransportConstants.java
index 73dfeb526c..e81843e929 100644
--- 
a/modules/transport/http/src/main/java/org/apache/axis2/transport/http/HTTPTransportConstants.java
+++ 
b/modules/transport/http/src/main/java/org/apache/axis2/transport/http/HTTPTransportConstants.java
@@ -40,8 +40,7 @@ public class HTTPTransportConstants {
 
 //Settings to define HTTPClient version
 public static final String HTTP_CLIENT_VERSION = "http.client.version"; 
-public static final String HTTP_CLIENT_3_X_VERSION = 
"http.client.version.3x";
-public static final String HTTP_CLIENT_4_X_VERSION = 
"http.client.version.4x";  
+public static final String HTTP_CLIENT_5_X_VERSION = 
"http.client.version.5x";  
 
 public static final String ANONYMOUS = "anonymous";
 public static final String PROXY_HOST_NAME = "proxy_host";
diff --git 
a/modules/transport/http/src/main/java/org/apache/axis2/transport/http/impl/httpclient5/HTTPClient5TransportSender.java
 
b/modules/transport/http/src/main/java/org/apache/axis2/transport/http/impl/httpclient5/HTTPClient5TransportSender.java
index 1d6fc46607..581169f35a 100644
--- 
a/modules/transport/http/src/main/java/org/apache/axis2/transport/http/impl/httpclient5/HTTPClient5TransportSender.java
+++ 
b/modules/transport/http/src/main/java/org/apache/axis2/transport/http/impl/httpclient5/HTTPClient5TransportSender.java
@@ -63,7 +63,7 @@ public class HTTPClient5TransportSender extends 
AbstractHTTPTransportSender {
 
 public void setHTTPClientVersion(ConfigurationContext 
configurationContext) {
 

(axis-axis2-java-core) branch master updated (d66c71ca29 -> 3088c94c39)

2025-03-03 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 d66c71ca29 More doc updates for 2.0.0
 new 33f6b1d6bc remove obsolete HTTPClient constants for 3.x and 4.x
 new 3fadd47dfc Code clean up in JSONMessageHandler classes
 new c7a564fce6 Code clean up in JSONMessageHandler classes
 new 3088c94c39 module docs updates for logging sample

The 4 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:
 .../org/apache/axis2/json/gson/JSONMessageHandler.java|  3 +--
 .../org/apache/axis2/json/moshi/JSONMessageHandler.java   |  6 ++
 .../axis2/transport/http/AbstractHTTPTransportSender.java |  2 +-
 .../java/org/apache/axis2/transport/http/AxisServlet.java | 15 ---
 .../axis2/transport/http/HTTPTransportConstants.java  |  3 +--
 .../http/impl/httpclient5/HTTPClient5TransportSender.java |  2 +-
 src/site/xdoc/docs/modules.xml|  4 ++--
 7 files changed, 12 insertions(+), 23 deletions(-)



(axis-axis2-java-core) 03/04: Code clean up in JSONMessageHandler classes

2025-03-03 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 c7a564fce6fdab73c1b2518fca98c28d39da4b04
Author: Robert Lazarski 
AuthorDate: Mon Mar 3 10:23:07 2025 -1000

Code clean up in JSONMessageHandler classes
---
 modules/json/src/org/apache/axis2/json/gson/JSONMessageHandler.java  | 2 +-
 modules/json/src/org/apache/axis2/json/moshi/JSONMessageHandler.java | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/modules/json/src/org/apache/axis2/json/gson/JSONMessageHandler.java 
b/modules/json/src/org/apache/axis2/json/gson/JSONMessageHandler.java
index f64c90999f..6c48169829 100644
--- a/modules/json/src/org/apache/axis2/json/gson/JSONMessageHandler.java
+++ b/modules/json/src/org/apache/axis2/json/gson/JSONMessageHandler.java
@@ -75,7 +75,7 @@ public class JSONMessageHandler extends AbstractHandler {
 } else {
 log.debug("JSON MessageReceiver found, proceeding with the 
JSON request");
 Object tempObj = 
msgContext.getProperty(JsonConstant.IS_JSON_STREAM);
-if (tempObj != null && Boolean.valueOf(tempObj.toString()) {
+if (tempObj != null && Boolean.valueOf(tempObj.toString())) {
 Object o = 
msgContext.getProperty(JsonConstant.GSON_XML_STREAM_READER);
 if (o != null) {
 GsonXMLStreamReader gsonXMLStreamReader = 
(GsonXMLStreamReader) o;
diff --git 
a/modules/json/src/org/apache/axis2/json/moshi/JSONMessageHandler.java 
b/modules/json/src/org/apache/axis2/json/moshi/JSONMessageHandler.java
index 7ad41bb1c8..404be6bc03 100644
--- a/modules/json/src/org/apache/axis2/json/moshi/JSONMessageHandler.java
+++ b/modules/json/src/org/apache/axis2/json/moshi/JSONMessageHandler.java
@@ -99,7 +99,7 @@ public class JSONMessageHandler extends AbstractHandler {
 log.debug("On enableJSONOnly=true Axis operation is null on 
JSON request, message hasn't been dispatched to an operation, proceeding on 
JSON message name discovery and AxisOperation mapping");
 try{
 Object tempObj = 
msgContext.getProperty(JsonConstant.IS_JSON_STREAM);
-if (tempObj != null && Boolean.valueOf(tempObj.toString()) 
{
+if (tempObj != null && 
Boolean.valueOf(tempObj.toString())) {
 Object o = 
msgContext.getProperty(JsonConstant.MOSHI_XML_STREAM_READER);
 if (o != null) {
 MoshiXMLStreamReader moshiXMLStreamReader = 
(MoshiXMLStreamReader) o;



(axis-axis2-java-core) branch master updated: More doc updates for 2.0.0

2025-03-03 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 d66c71ca29 More doc updates for 2.0.0
d66c71ca29 is described below

commit d66c71ca29adf2e63c3453148065602bea77b23a
Author: Robert Lazarski 
AuthorDate: Mon Mar 3 09:29:55 2025 -1000

More doc updates for 2.0.0
---
 src/site/markdown/release-notes/2.0.0.md | 16 
 src/site/xdoc/docs/json_support_gson.xml |  6 --
 2 files changed, 16 insertions(+), 6 deletions(-)

diff --git a/src/site/markdown/release-notes/2.0.0.md 
b/src/site/markdown/release-notes/2.0.0.md
index 70206727eb..5a9651b4da 100644
--- a/src/site/markdown/release-notes/2.0.0.md
+++ b/src/site/markdown/release-notes/2.0.0.md
@@ -6,10 +6,16 @@ and Wildfly 32, 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.
 
-Axis2 added two committers recently and after this big jakarta update that 
changed nearly every file and dependency of the project, the community can once 
again expect releases several times a year to fix bugs and update dependencies 
with CVE's.
+HTTPClient has been updated to 5.x, so update your axis2.xml files from 
httpclient4 to httpclient5. 
+
+Previously generated sources with javax references may or may not work in the 
latest Tomcat / Wildfly. You may have to regenerate your sources or globably 
replace the jakarta libs.  
 
 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.
+been updated to use Spring Boot 3. If you want to support native JSON with 
simple POJO's and no SOAP, axis2 can that. See the new enableJSONOnly flag in 
axis2.xml. 
+
+For those who want to support both SOAP and JSON, the JSON support docs for 
the XML Stream API Base Approach have been improved.
+
+Axis2 added two committers recently and after this big jakarta update that 
changed nearly every file and dependency of the project, the community can once 
again expect releases several times a year to fix bugs and update dependencies 
with CVE's.
 
 The main purpose of the release is to upgrade everything possible to the 
latest,
 and have our Jira issues cleaned up. Many issues have been fixed. 
@@ -37,6 +43,8 @@ For those interested in Rampart - an optional implementation 
of WS-Sec* standard
 
 Apache Axis2 2.0.0 Jira issues fixed
 
+
+Release Notes - Axis2 - Version 2.0.0
 
 Bug
 
@@ -51,8 +59,6 @@ Apache Axis2 2.0.0 Jira issues fixed
 
 [AXIS2-5964] -   
  AbstractJSONMessageFormatter NOT using CharSetEncoding when reding Json 
string Bytes
 
-[AXIS2-5971] -   
  AxisServlet.processURLRequest use content-type header instead of accept
-
 [AXIS2-6030] -   
  Axis2 connections are not returned to connection pool on 1.8.0 with JAXWS
 
 [AXIS2-6035] -   
  Axis2 libraries not compatible with Tomcat 10
@@ -93,6 +99,8 @@ Apache Axis2 2.0.0 Jira issues fixed
 
 [AXIS2-6075] -   
  axis2-wsdl2code-maven-plugin documentation is stuck on version 1.7.9
 
+[AXIS2-6080] -   
  Axis2 1.8.2 Missing Libraries for Apache Tomcat 11.0.2
+
 
 
 Improvement
diff --git a/src/site/xdoc/docs/json_support_gson.xml 
b/src/site/xdoc/docs/json_support_gson.xml
index 36b0ebffb8..43d67881a9 100644
--- a/src/site/xdoc/docs/json_support_gson.xml
+++ b/src/site/xdoc/docs/json_support_gson.xml
@@ -31,7 +31,9 @@
   similar in features though Moshi is widely considered to have better
   performance. GSON development has largely ceased. Switching between
   Moshi and GSON is a matter of editing the axis2.xml file. 
-  For users of JSON and Spring Boot, see the sample application in 
+   
+   
+  For users of JSON and Spring Boot, the Native approach discussed 
below can be seen as a complete sample application in 
   the JSON and Spring Boot 3 
User's Guide. 

 This documentation explains how the existing JSON support in Apache 
Axis2 have been improved with two new
@@ -172,7 +174,7 @@
 the XmlSchema it can provide accurate XML infoset of the JSON 
message. To get the relevant XMLSchema
 for the operation, it uses element qname of the message. At 
the MessageBuilder level Axis2 doesn't know
 the element qname hence it can't get the XmlSchema of the 
operation. To solve this issue Axis2 uses a
-new handler call JSONMessageHandler, which executes after the 
RequestURIOperationDispatcher handler.
+new handler call JSONMessageHandler, w