title: How to expose a web-service with cxf:proxy-service
body: <p>I am trying to expose a simple greeting web-service using "cxf:proxy-service" in mule. Given below is my flow. </p>
  
  <pre><code>&lt;flow name="WS_In"&gt;
      &lt;http:inbound-endpoint address="http://localhost:8080/HelloService" exchange-pattern="request-response"&gt;
          &lt;cxf:proxy-service  wsdlLocation="classpath:HelloService.wsdl" namespace="http://example.org/HelloService"/&gt;
      &lt;/http:inbound-endpoint&gt;        
      &lt;component&gt;             
          &lt;prototype-object class="com.example.ServiceProxy"&gt;
          &lt;/prototype-object&gt;
      &lt;/component&gt;
  
      &lt;echo-component&gt;&lt;/echo-component&gt;
      &lt;logger level="INFO"        /&gt;
  &lt;/flow&gt;
  </code></pre>
  
  <p>But it giving me error as below:</p>
  
  <pre><code>2013-01-03 16:13:35,569 ERROR [main] construct.AbstractFlowConstruct (AbstractFlowConstruct.java:180) - Failed to stop service: WS_In
  org.mule.api.lifecycle.LifecycleException: Lifecycle Manager 'WS_In.stage1' phase 'start' does not support phase 'dispose'
  </code></pre>
  
  <p>My ServiceProxy calss is as below</p>
  
  <pre><code>public class ServiceProxy implements Callable, Initialisable 
  </code></pre>
  
  <p>Please help me understand where I am missing the path.</p>