Hello, So for the RESTful service I'm writing, I generated my data model from a third party xsd. All the objects created there don't have a @XmlRootElement annotation, but rather just @XmlType. So when I return these objects from my RESTful service, I'm now getting:
.No message body writer found for response class : LocationOptionsType. I dug around online and didn't really find anything helpful. I did find one post that said there should be an ObjectFactory that has methods that I can use to wrap my classes in a JAXBElement. I tried using that, but everything I'm doing returns that error. I tried modifying my method signature to return the object itself, the JAXBElement wrapped object, and even a Response, but all the same. Has anyone run into this issue? Thanks in advance, John
