Hi, I want to design a servlet which will will be invoked from an application residing in a different web server and the second application will get back an XML blob as a return. The whole connection will be based on HTTP ofcourse(no SOAP etc). Any suggestions on how to achieve this?
Thanks in advance, Sunetra.
posted 10 years ago
It seems like you have answered your own question almost.
1. Servlet gets invoked with request 2. Build relevant XML 3. Get response output stream 4. Write content type 5. Dump XML 6. Profit!