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
<p>The Native approach is for JSON use cases without a WSDL nor any XML dependency, and you just want some simple Java Objects that map to and from GSON or Moshi.</p>
98
+
97
99
<p>With this approach you can expose your POJO service to accept pure JSON request other than converting to
98
100
any representation or format. You just need to send a valid JSON string request to the service url and,
99
101
in the url you should have addressed the operation as well as the service. Because in this scenario Axis2
@@ -139,6 +141,7 @@
139
141
<sectionname="XML Stream API Base Approach"id="xml_stream_api_base_approach" >
140
142
141
143
144
+
<p>XML Stream API Base Approach is for use cases with a WSDL, and in addition to SOAP you also want to support JSON. This support is currently limited to XML Elements and not XML Attributes - though if you are interested in that support please see AXIS2-6081. </p>
142
145
<p> As you can see the native approach can only be used with POJO services but if you need to expose your
143
146
services which is generated by using ADB or xmlbeans databinding then you need to use this XML Stream
144
147
API based approach. With this approach you can send pure JSON requests to the relevant services.
0 commit comments