Skip to content

Commit d66c71c

Browse files
More doc updates for 2.0.0
1 parent 423c710 commit d66c71c

File tree

2 files changed

+16
-6
lines changed

2 files changed

+16
-6
lines changed

src/site/markdown/release-notes/2.0.0.md

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,16 @@ and Wildfly 32, and is expected to support EE 10 and Spring 6 / Spring Boot 3.
66

77
The Axis2 project transition to jakarta depends partly on Axiom, which has also been updated to 2.0.0.
88

9-
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.
9+
HTTPClient has been updated to 5.x, so update your axis2.xml files from httpclient4 to httpclient5.
10+
11+
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.
1012

1113
The JSON support has been updated with many bugs fixed, while the examples have
12-
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.
14+
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.
15+
16+
For those who want to support both SOAP and JSON, the JSON support docs for the XML Stream API Base Approach have been improved.
17+
18+
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.
1319

1420
The main purpose of the release is to upgrade everything possible to the latest,
1521
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
3743

3844
Apache Axis2 2.0.0 Jira issues fixed
3945
------------------------------------
46+
47+
Release Notes - Axis2 - Version 2.0.0
4048
4149
<h2> Bug
4250
</h2>
@@ -51,8 +59,6 @@ Apache Axis2 2.0.0 Jira issues fixed
5159
</li>
5260
<li>[<a href='https://issues.apache.org/jira/browse/AXIS2-5964'>AXIS2-5964</a>] - AbstractJSONMessageFormatter NOT using CharSetEncoding when reding Json string Bytes
5361
</li>
54-
<li>[<a href='https://issues.apache.org/jira/browse/AXIS2-5971'>AXIS2-5971</a>] - AxisServlet.processURLRequest use content-type header instead of accept
55-
</li>
5662
<li>[<a href='https://issues.apache.org/jira/browse/AXIS2-6030'>AXIS2-6030</a>] - Axis2 connections are not returned to connection pool on 1.8.0 with JAXWS
5763
</li>
5864
<li>[<a href='https://issues.apache.org/jira/browse/AXIS2-6035'>AXIS2-6035</a>] - Axis2 libraries not compatible with Tomcat 10
@@ -93,6 +99,8 @@ Apache Axis2 2.0.0 Jira issues fixed
9399
</li>
94100
<li>[<a href='https://issues.apache.org/jira/browse/AXIS2-6075'>AXIS2-6075</a>] - axis2-wsdl2code-maven-plugin documentation is stuck on version 1.7.9
95101
</li>
102+
<li>[<a href='https://issues.apache.org/jira/browse/AXIS2-6080'>AXIS2-6080</a>] - Axis2 1.8.2 Missing Libraries for Apache Tomcat 11.0.2
103+
</li>
96104
</ul>
97105
98106
<h2> Improvement

src/site/xdoc/docs/json_support_gson.xml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,9 @@
3131
similar in features though Moshi is widely considered to have better
3232
performance. GSON development has largely ceased. Switching between
3333
Moshi and GSON is a matter of editing the axis2.xml file.
34-
For users of JSON and Spring Boot, see the sample application in
34+
</p>
35+
<p>
36+
For users of JSON and Spring Boot, the Native approach discussed below can be seen as a complete sample application in
3537
the <a href="json-springboot-userguide.html">JSON and Spring Boot 3 User's Guide.</a>
3638
</p>
3739
<p>This documentation explains how the existing JSON support in Apache Axis2 have been improved with two new
@@ -172,7 +174,7 @@
172174
the XmlSchema it can provide accurate XML infoset of the JSON message. To get the relevant XMLSchema
173175
for the operation, it uses element qname of the message. At the MessageBuilder level Axis2 doesn't know
174176
the element qname hence it can't get the XmlSchema of the operation. To solve this issue Axis2 uses a
175-
new handler call JSONMessageHandler, which executes after the RequestURIOperationDispatcher handler.
177+
new handler call JSONMessageHandler, which executes after the RequestURIOperationDispatcher handler or optionally the JSONBasedDefaultDispatcher that can be used in the native approach though it is not mandatory (See the JSON based Spring Boot User Guide).
176178
In the MessageBuilder it creates GsonXMLStreamReader parsing JsonReader instance which is created using
177179
inputStream and stores it in input MessageContext as a message property and returns a default SOAP
178180
envelop. Inside the JSONMessageHandler it checks for this GsonXMLStreamReader property, if it is not

0 commit comments

Comments
 (0)