-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Send HTTP Response with XML schema?? How??
PostPosted: Sun Mar 28, 2010 12:42 pm 
Newbie

Joined: Thu Jan 28, 2010 8:38 pm
Posts: 2
Hi,

I ran the Petclinic sample project successfully but I am not sure if it has what I was looking for as a sample.

In Petclinic, MVC is in force. The RequestMapping actions map to model and rendered by Views (*.jsp). What I need to do is to 'intercept' the HTTP Request before or after rendering to View to compose a HTTP Response message with a XML scheme of the model and send it to a mobile client.

My mobile client accepts HTTP message with a XML schema of the returned data from my model and display it via an iPhone App.

How can I and where shall I compose this message and send it to my requesting mobile client?

Any help would be greatly appreciated. Any sample code or references that I should read will greatly help as well.

Looking forward to any help.

Many Thanks in advance.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.