Re: [Simple-support] SimpleXmlHttpMessageConverter missing?
Brought to you by:
niallg
|
From: Niall G. <gal...@ya...> - 2012-08-23 20:55:47
|
This is part of Spring Android, not Simple. --- On Thu, 23/8/12, Jason La <ja...@gm...> wrote: > From: Jason La <ja...@gm...> > Subject: [Simple-support] SimpleXmlHttpMessageConverter missing? > To: sim...@li... > Received: Thursday, 23 August, 2012, 11:03 AM > Hi, > > I'm trying to use SimpleXmlHttpMessageConverter with Spring > 3, and it > looks like SimpleXmlHttpMessageConverter is no longer part > of Simple? > > Am I configuring it correctly? > > <dependency> > > <groupId>org.simpleframework</groupId> > > <artifactId>simple-xml</artifactId> > <version>2.6.6</version> > </dependency> > > Code: > > RestTemplate restTemplate = new RestTemplate(); > > restTemplate.getMessageConverters().add(new > SimpleXmlHttpMessageConverter()); > > The compiler can't find SimpleXmlHttpMessageConverter(). > > Any help is much appreciated. > > -- > =============== > Jason La > ja...@gm... > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's > security and > threat landscape has changed and how IT managers can > respond. Discussions > will include endpoint security, mobile security and the > latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Simple-support mailing list > Sim...@li... > https://lists.sourceforge.net/lists/listinfo/simple-support > |