|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
REST Accessing Request XML BodyHi, I am a newbie using Grails 1.0.2 I am trying to use Grails + XStream to create a REST data
server (ie Pull the data from the Database, generate XML for the front-end) Can someone tell me what configuration I need to access the Body
of a POST request? I have tried request.reader.text get but I get an exception
because the reader has been read. I need the String of the body so I can pass this to XStream to
parse the XML. Thanks in advance. Regards Scott
Warren Ocom Software ... Exceeding Quality.... web | ocom.com.au |
|
|
Re: REST Accessing Request XML BodyTry removing the xml entry in grails.mime.types in your Config.groovy
hth Cheers, Sigi On Fri, May 16, 2008 at 2:32 AM, Scott Warren <scottwarren@...> wrote:
-- _______________________ Siegfried Puchbauer http://siegfried.puchbauer.com/ |
|
|
RE: REST Accessing Request XML BodyThanks! I will give that a try. Regards Scott Warren Ocom Software ... Exceeding Quality.... web | ocom.com.au From: Siegfried Puchbauer
[mailto:siegfried.puchbauer@...] Try removing the xml entry in
grails.mime.types in your Config.groovy On Fri, May 16, 2008 at 2:32 AM, Scott Warren <scottwarren@...> wrote: Hi, I am a newbie using Grails 1.0.2 I am trying to use Grails + XStream to create a REST data server (ie Pull
the data from the Database, generate XML for the front-end) Can someone tell me what configuration I need to access the Body of a POST
request? I have tried request.reader.text get but I get an exception because the
reader has been read. I need the String of the body so I can pass this to XStream to parse the
XML. Thanks in advance. Regards Scott Warren Ocom Software ... Exceeding Quality.... web
| ocom.com.au
|
| Free Forum Powered by Nabble | Forum Help |