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 2a00a0e485aa26e11ecfea14ea5221b43ce7ad6c
Merge: 2d3597a8b1 4bb08c2cf4
Author: Robert Lazarski <[email protected]>
AuthorDate: Sat Nov 21 06:37:50 2026 -1000

    Merge pull request #1326 from kali834x/rest-json-only-check
    
    Keep both new rows in the 2.0.3 upgrade table.
    
    Co-Authored-By: Claude Fable 5.2 <[email protected]>

 .../apache/axis2/transport/http/util/RESTUtil.java | 22 +++++++++++
 .../transport/http/AxisServletJSONOnlyTest.java    | 46 ++++++++++++++++++++++
 src/site/markdown/release-notes/2.0.3.md           |  7 ++++
 3 files changed, 75 insertions(+)

diff --cc src/site/markdown/release-notes/2.0.3.md
index 7d22f52f28,8fb2e19a96..d4122450a9
--- a/src/site/markdown/release-notes/2.0.3.md
+++ b/src/site/markdown/release-notes/2.0.3.md
@@@ -8,7 -8,7 +8,8 @@@ Apache Axis2 2.0.3 Release Note
  | Change | Restore the old behaviour with |
  |---|---|
  | The JSON dispatcher no longer selects a service from the XML body namespace 
| `<parameter name="allowContentBasedServiceDispatch">true</parameter>` |
 +| A WSDL read with no resolver refuses absolute `wsdl:import` and 
`xsd:import` locations | 
`WSDL11ToAxisServiceBuilder.setCustomWSDLResolver(...)` with a locator of your 
own |
+ | `enableJSONOnly` refuses non-JSON GET, PUT and DELETE requests as it does 
POST | no switch; send `Content-Type: application/json` |
  
  `JSONBasedDefaultDispatcher`, the Dispatch-phase dispatcher in the Spring Boot
  starter's `axis2-json.xml`, now honours `allowContentBasedServiceDispatch` as 
the

Reply via email to