File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Services and the fly likes RestTemplate - How can I? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "RestTemplate - How can I?" Watch "RestTemplate - How can I?" New topic
Author

RestTemplate - How can I?

Mimi Tam
Ranch Hand

Joined: Mar 05, 2010
Posts: 121

My RestTemplate client needs to "bring up" a HTTP Request Form (for input) created by the Web Service, enters data and hit the SEND button via the browser. The Web Service will process Form data, create an HTTP Response message in XML and send back to the RestTemplate client.

Two questions:

1. How can the RestTemplate client "bring up" this Form (*.jspx in the WS) created by the Web Service to the browser?
2. From the Web Service's HttpRequest controller at POST (after input data), how can I trigger the GET, POST handlers from the Web Service's HttpResponse controller?


My Client App:

My demo client POJO:

HTTP Request Controller in the Web Service:




Any help will be greatly appreciated.








 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: RestTemplate - How can I?
 
Similar Threads
Controller redirect to another Controller?
Within the infrastruture - How to and Where - to intercept HTTP request and to send HTTP response?
@Responsebody for HTTP msg and a View to show the HTTP response msg
Respond to 3rd party requests
Marshalling plumbing - off base