title: calling rest ful web service in java using a given end point which takes xml as an put?
body: <p>I am new to webservices. i am working on a project. i am asked to call a rest ful webservice which takes xml as in put. below is the end point.</p>
  
  <pre><code>https://api-something.com/someLocation/status
  </code></pre>
  
  <p>HTTP method is <code>POST</code></p>
  
  <p>How can i pass the xml and call the above end point in Java/spring?</p>
  
  <p>How to pass an <code>XML</code> file as an input to the specified end point?</p>
  
  <p>Thanks!</p>