users@wadl.java.net

RE: return value of type DataSource

From: Hadley, Marc J <mhadley_at_mitre.org>
Date: Thu, 10 Jun 2010 11:24:14 -0400

>I was not able to find a good example, so I'm asking here:
>Why do all my methods return DataSource, although media type is
>application/xml and the element name is set?
>I'd expect that one of these generated Jaxb classes is returned.
>
You normally get a DataSource if either the element isn't specified or the XML schema for the element can't be found. Do you get a JAXB generated class for the response element ?

Marc.