title: Get SOAP request as XML in Spring MVC
body: <p>I need to get the XML Soap request coming to a url on my server. I wrote something like</p>
  
  <pre><code>@RequestMapping("/SomeService")
  @ResponseBody
  public String index(@RequestBody String request) {
      mailService.sendMail("someone@gmail.com", "Subject", request);
      return "";
  }
  </code></pre>
  
  <p>But the request body is coming as blank. I'm using spring 3.2. I just need the XML SOAP content. How do I proceed in this case. Thanks in advance.</p>