title: Mule method cannot be cast to string
body: <p>i'm very new to mule studio.</p>
  
  <p>This is the environements setup.</p>
  
  <p><strong>VM1</strong> = Windows 7, Visual Studio 2012, IIS 7.
  A .net 4.5 WCF webservice hosted in IIS7 that has an operation that accepts a string and returns a string.</p>
  
  <p><strong>VM2</strong> = Ubuntu 13.4 OpenJDK 1.7.0_25 Mule Studio 3.5 Community Edition.</p>
  
  <p>I created a JAXWS-Client with an outbound endpoint, I did this by clicking the generate from WSDL and entering the url of the .net WCF webservice hosted in IIS on <strong>VM1</strong>. That was fine.</p>
  
  <p>I then created an inbound endpoint with a jaxws-Service in-between the inbound service and the outbound client there is a logger and an object to string.</p>
  
  <p>If I setup a vanilla inbound endpoint (no soap) and use a simple html form to post it all works fine and I get a string back to the browser. But adding the Soap Component causes the dispatcherexception when the flow hits the Soap Component just prior to the outbound endpoint.</p>
  
  <blockquote>
    <p>org.mule.api.transport.DispatchException: java.lang.reflect.Method
    cannot be cast to java.lang.String. Failed to route event via
    endpoint: org.mule.module.cxf.CxfOutboundMessageProcessor. Message
    payload is of type: String</p>
  </blockquote>
  
  <pre><code> &lt;flow name="testtwoFlow1" doc:name="testtwoFlow1"&gt;
      &lt;http:inbound-endpoint exchange-pattern="request-response"   path="SimplePing" doc:name="HTTP" host="0.0.0.0" port="8081"/&gt;
  
      &lt;cxf:jaxws-service serviceClass="TestTwo.IPing" doc:name="SOAP" /&gt;
  
      &lt;logger level="INFO" doc:name="Logger"/&gt;
      &lt;object-to-string-transformer doc:name="Object to String"/&gt;
      &lt;flow-ref name="testtwoFlow3" doc:name="Flow Reference"/&gt;
  
  &lt;/flow&gt;
  &lt;sub-flow name="testtwoFlow3" doc:name="testtwoFlow3"&gt;
  
      &lt;cxf:jaxws-client operation="SimplePing" serviceClass="TestTwo.IPing" enableMuleSoapHeaders="true" doc:name="SOAP"/&gt;
  
      &lt;logger level="INFO" doc:name="Logger"/&gt;
      &lt;http:outbound-endpoint exchange-pattern="request-response" host="192.168.0.2" port="80" path="MuleExperiments/Ping.svc" method="POST" doc:name="HTTP" /&gt;
  &lt;/sub-flow&gt;
  </code></pre>
  
  <p>I Have googled extensively and I haven been much in the way if examples that show an inbound service interacting with an outbound client. Or descriptions of the exception thrown, what causes it and how to address it. I'm guessing pretty much its because the service and the client are generated from the same WSDL, but I wouldn't have thought that would be a real issue. Or that in my cxf:jaxws-service &amp; cxf:jaxws-service the service class is the same.</p>
  
  <p>What my goal is, at this juncture, is to have a simple in/out of a string</p>