title: How to build a proxy layer for SOAP/XML webservices
body: <p>I need to capture and run realtime analysis on messages being exchanged between various web services implemented in Java and client apps.  The server code and config can not be modified and is hosted on various servers.</p>
  
  <p>Is it possible to build a proxy layer that will take all calls from the client app and route them to actual web services. </p>
  
  <p>So it needs to do the following:</p>
  
  <ol>
  <li>Accept a config file containing endpoints for various web services that need to be proxied</li>
  <li>For each end point, generate a proxy URL </li>
  <li>The client apps will point to these proxy URLs</li>
  <li>The proxy layer will listen to traffic on these proxy URLs, and route them to real end points.</li>
  <li>Track all SOAP traffic in between the client and services and run the necessary analysis.</li>
  </ol>
  
  <p>I considered SoapUI but it does not seem to provide enough control that I need for realtime analysis.</p>