Win a copy of Java EE 8 High Performance this week in the Java/Jakarta EE forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

RestTemplate - How can I?  RSS feed

Ranch Hand
Posts: 121
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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.

Run away! Run away! Here, take this tiny ad with you:
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!