This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I have to send xml with request for post method using spring rest template.I tried to find some code from Google but i could not.
Can anyone let me know any working code example by which i can send xml(post method) using spring rest template.
There is a postForObject(...) postForLocation(...) and exchange(...) method that can all be used depending on your needs. Please have a look and give these a try. If you have problems post back with what you have tried and we will see if we can help you.