If you have an AnyType in XSD schema you should have "xsi:type" attribute
on corresponding XML element of payload. Client will use above attribute
value for serialization/deserialization.

Thanks !

On Thu, Feb 23, 2012 at 1:21 PM, Giovanni Formenti <
giovanni.forme...@gmail.com> wrote:

> Hi,
> I have a WebService returning an AnyType element that can contains other
> custom XSD elements inside.
> When I try to execute a get an exceltion "No deserializer for {
> http://www.w3.org/2001/XMLSchema}anyType";
> Is it possible to provide some serialization-deserialization rules to that
> XML part? I saw that the Client consider the anyType field an Object.
> Thank you for any suggestion on that
>
> --
> Giovanni
>



-- 
Sagara Gunathunga

Blog      - http://ssagara.blogspot.com
Web      - http://people.apache.org/~sagara/
LinkedIn - http://www.linkedin.com/in/ssagara

Reply via email to