Hi,

I m writing a REST service in S2 (using REST plugin) to store the data
received through xml snippet. But I m struck with the default behavior of
the plugin

<?xml version="1.0" encoding="UTF-8"?>
<books xmlns:ev="http://www.w3.org/2001/xml-events"; xmlns:xforms="
http://www.w3.org/2002/xforms"; xmlns:xhtml="http://www.w3.org/1999/xhtml";
xmlns:xs="http://www.w3.org/2001/XMLSchema"; xmlns:xxforms="
http://orbeon.org/oxf/xml/xforms";>

<book>
        <title>Harry Potter</title>
        <author>J. K. Rowling</author>
        <language>en</language>
        <rating>5</rating>
        <notes>Story of a wizard kid</notes>
</book>

But when using REST default de-serialization, the <book> root node should
have fully qualified package name of the class. But in my case it is not
possible as I m getting only <book> (in fact as I m using Orbeon forms, the
instance will be submitted to the service in the above format).

Is it possible to alter that behavior?

Thanks,
ManiKanta G
Twitter/manikantag

Reply via email to