Hi,

We've added JSON mapping support for DSS, which is mentioned in the mail
with subject "JSON Mapping Support for Data Services". For this, I've used
the GSON based streaming JSON message builder/formatter, where this was
needed for a correct JSON message generation by looking at the service
schema. There were some fixes done by Shameera lately, and this is working
properly now for all of the scenarios I've tested. So shall we ship this
message builder/formatter by default from the axis2.xml in the kernel, so
all the products, including AS and DSS will get this feature. It will be
specifically required by AS, as it still contains the data services
features.

And for ESB, I'm not sure how the new message builder/formatter would work,
since they will not always have correct service schemas in proxy services
etc.. so I guess those scenarios may fail, maybe Shameera can give some
insight on this more. Anyways, the ESB has their own axis2.xml, so they
will not be affected.

So shall we go ahead in updating the kernel's axis2.xml to contain the
following sections? ..

<messageFormatter contentType="application/json"
             class="org.apache.axis2.json.gson.JsonFormatter" />

 <messageBuilder contentType="application/json"
             class="org.apache.axis2.json.gson.JsonBuilder" />

Cheers,
Anjana
-- 
*Anjana Fernando*
Technical Lead
WSO2 Inc. | http://wso2.com
lean . enterprise . middleware
_______________________________________________
Architecture mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture

Reply via email to