Project: springxd
Issue XD-961: Accessing xd-admin URLs in the browser return XML and not JSON
Here is an example: the following request for streams: http://ec2-23-20-25-30.compute-1.amazonaws.com:9393/streams Returns: This XML file does not appear to have any style information associated with it. The document tree is shown below. Could not marshal [PagedResource { content: [links: [;rel="self"]], metadata: Metadata { number: 0, total pages: 1, total elements: 1, size: 20 }, links: [] }]: null; nested exception is javax.xml.bind.MarshalException - with linked exception: [com.sun.istack.SAXException2: unable to marshal type "org.springframework.xd.rest.client.domain.StreamDefinitionResource" as an element because it is not known to this context.]
Story points: 1