I have some Web Services that do basic CRUD for an object. The input into my create is an XML document represented by a JAXB annotated class. I can execute the create and pass in the XML successfully:
<MyData xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <MyDetails>blahblah</MyDetails></MyData>
The problem is that when I read the data after it has been stored, my response contains:
The client would like the response to be unchanged from the input. Is anyone aware of how I would go about including the namespaces on the root element of the returned object?
Retrieving data ...