You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/site/markdown/release-notes/2.0.0.md
+12-4Lines changed: 12 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,10 +6,16 @@ and Wildfly 32, and is expected to support EE 10 and Spring 6 / Spring Boot 3.
6
6
7
7
The Axis2 project transition to jakarta depends partly on Axiom, which has also been updated to 2.0.0.
8
8
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.
10
12
11
13
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.
13
19
14
20
The main purpose of the release is to upgrade everything possible to the latest,
15
21
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
<li>[<ahref='https://issues.apache.org/jira/browse/AXIS2-5964'>AXIS2-5964</a>] - AbstractJSONMessageFormatter NOT using CharSetEncoding when reding Json string Bytes
53
61
</li>
54
-
<li>[<ahref='https://issues.apache.org/jira/browse/AXIS2-5971'>AXIS2-5971</a>] - AxisServlet.processURLRequest use content-type header instead of accept
55
-
</li>
56
62
<li>[<ahref='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
57
63
</li>
58
64
<li>[<ahref='https://issues.apache.org/jira/browse/AXIS2-6035'>AXIS2-6035</a>] - Axis2 libraries not compatible with Tomcat 10
Copy file name to clipboardExpand all lines: src/site/xdoc/docs/json_support_gson.xml
+4-2Lines changed: 4 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -31,7 +31,9 @@
31
31
similar in features though Moshi is widely considered to have better
32
32
performance. GSON development has largely ceased. Switching between
33
33
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
35
37
the <ahref="json-springboot-userguide.html">JSON and Spring Boot 3 User's Guide.</a>
36
38
</p>
37
39
<p>This documentation explains how the existing JSON support in Apache Axis2 have been improved with two new
@@ -172,7 +174,7 @@
172
174
the XmlSchema it can provide accurate XML infoset of the JSON message. To get the relevant XMLSchema
173
175
for the operation, it uses element qname of the message. At the MessageBuilder level Axis2 doesn't know
174
176
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).
176
178
In the MessageBuilder it creates GsonXMLStreamReader parsing JsonReader instance which is created using
177
179
inputStream and stores it in input MessageContext as a message property and returns a default SOAP
178
180
envelop. Inside the JSONMessageHandler it checks for this GsonXMLStreamReader property, if it is not
0 commit comments