Hi Thomas,

thomas fuller wrote:

> Hi Folks,
> 
> I'm working with a restful web service which returns a file along with the
> XML and I'm kind of at a loss regarding how to handle this.
> 
> What I'd like to be able to do is map the attachment to a property and in
> other places in the bean I've been annotating properties as follows:
> 
> @XStreamAlias(START_DATE)
> @XStreamAsAttribute
> private Date startDate = null;
> 
> However I don't see how this would work with the attachment and xstream is
> throwing an exception (below).
> 
> Can someone please provide me with some guidance regarding what to do
> here?
> 
> Thanks,
> 
> Tom
> 
> org.springframework.web.client.RestClientException: Could not extract
> response: *no suitable HttpMessageConverter found for response type
> [com...Observations] and content type [application/zip]*
>     at
> 
org.springframework.web.client.HttpMessageConverterExtractor.extractData(HttpMessageConverterExtractor.java:84)
>     ...

Sorry, I don't see how XStream is involved here looking at the exception. 
Additionally I have no idea how Spring is using XStream, you might want to 
look for help there...

- Jörg



---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to