Yes, it works with the XML MRs.
There is another limitation; i.e., the topmost element in the payload cannot
have a namespace or namespace declaration.

Azeez

On Tue, Oct 20, 2009 at 3:58 AM, Isuru Suriarachchi <[email protected]> wrote:

> Hi Azeez,
>
> I think you are using the RPCMessageReceiver in your service. That can be
> the problem here.. JSON doesn't work with the RPCMessageReceiver. You have
> to use the RawXMLInOutMessageReceiver and get an OMElement as the parameter
> for your operation.
>
> Someone asked this question in the Axis dev very recently and I've
> explained the reason behind this in some more details at [1].
>
> Thanks,
> ~Isuru
>
> [1] http://isurues.wordpress.com/2009/10/06/how-to-use-axis2-json/
>
> On Mon, Oct 19, 2009 at 9:31 PM, Afkham Azeez <[email protected]> wrote:
>
>> Has anybody tested JSON serialization in the latest Carbon? It seems to be
>> broken. The problem is related to the namespaces in the request being
>> ignored on the server side.
>>
>> --
>> --
>> Afkham Azeez
>> [email protected]
>> WSO2 Inc. http://wso2.com
>> Blog: http://afkham.org
>>
>> _______________________________________________
>> Carbon-dev mailing list
>> [email protected]
>> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>
> _______________________________________________
> Carbon-dev mailing list
> [email protected]
> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
--
Afkham Azeez
[email protected]
WSO2 Inc. http://wso2.com
Blog: http://afkham.org
_______________________________________________
Carbon-dev mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to