title: Expose a POJO as a Websevice in Mule via Configuration _Only_?
body: <blockquote>
    <h3>Technologies Involved</h3>
  </blockquote>
  
  <ul>
  <li>Mule</li>
  <li>Apache CXF</li>
  </ul>
  
  <blockquote>
    <h3>Given</h3>
  </blockquote>
  
  <p>A simple POJO (controversial acronym, but let's say a smart POJO):</p>
  
  <pre><code>public class SmartPojo implements SomeBusinessInterface {
  
      public String doSomethingSmart( With something ) {
  
          String result;
  
          result = Irrelevant.process( something )
  
          return result;
      }
  }
  </code></pre>
  
  <blockquote>
    <h3>Need to Achieve</h3>
  </blockquote>
  
  <p>Expose <code>SmartPojo</code> as a Webservice <em>without</em> touching the code ( <em>without</em>: changing <code>SmartPojo</code>, changing <code>SmartPojoInterface</code>, adding a new interface, any JAX-WS annotations, etc ). The goal is to use Mule configuration <strong>only</strong>.</p>
  
  <p>I can easily do it with Spring Integration, and would appreciate any input on how to achieve it with Mule. ( It seems that "cxf:inbound-endpoint" needs to be configured with "method-entry-point-resolver" + providing my WSDL in some way.. or another direction? )</p>
  
  <p>Thank you</p>