Hi,

I got a jaxrs:server endpoint with JAXB data bindings running but the
response schema has <xs:any> elements on it. I have the jaxb bindings for
the elements I use but I don't know how to make those available  to the
"context". So I get this error when the service is marshalling the response
:

[2010-08-09 13:15:04.211] ERROR 1423476...@qtp-1025320475-3  NNEW-Business      
                                             
edu.ucar.ral.wcsri.rs.RestExceptionMapper - REST exception: 
javax.ws.rs.WebApplicationException: javax.xml.bind.JAXBException:
org.isotc211._2005.gmd.MD_Metadata_Type is not known to this context


I tried to add the @XmlSeeAlso annotation with the factories for those
objects/elements but not luck.

I'm using cxf 2.2.7 in smx 4.2-01

Thanks,

-Marcel
-- 
View this message in context: 
http://cxf.547215.n5.nabble.com/cxf-rest-how-to-deal-with-xs-any-tp2281907p2281907.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to