title: Mule - How to send SOAP Web Service Request?
body: <p>Hi i am doing simple POC in mule.</p>
  
  <p>I have a web service and i want to make it's Client.</p>
  
  <p>It is SOAP web service and i want to send request to it but i am not getting wayout. Please give me some idea.</p>
  
  <p><strong>Following is code:</strong></p>
  
  <p>MULE:</p>
  
  
  
  <p></p>
  
  <pre><code>&lt;cxf:configuration name="CXF_Configuration" enableMuleSoapHeaders="true" initializeStaticBusInstance="true" doc:name="CXF Configuration"/&gt;
  
  &lt;flow name="prjvm1" doc:name="prjvm1"&gt;
      &lt;http:inbound-endpoint address="http://localhost:5678/httpHello" contentType="application/x-www-form-urlencoded" doc:name="HTTP"&gt;
          &lt;http:body-to-parameter-map-transformer /&gt;
      &lt;/http:inbound-endpoint&gt;
  
      &lt;!-- This logger is just set to show the message accepted from the request --&gt;
      &lt;logger level="INFO" message="#[payload]" doc:name="Logger"/&gt;
          &lt;cxf:jaxws-client doc:name="VimService"    
                        wsdlLocation="file:/C:/Users/gugla/MuleStudio/workspace/prjvm/bin/service/vService.wsdl" 
                        operation="retrieveServiceContent"  
                        clientClass="com.esxclient.VService" 
                        port="VimPort"&gt;
          &lt;cxf:jaxb-databinding/&gt;
      &lt;/cxf:jaxws-client&gt;
      &lt;outbound-endpoint address="http://localhost:8080/gep-sped/servicos/ServicoDeCadastroEAgendamento" 
                          doc:name="Generic" 
                          exchange-pattern="request-response"/&gt;
      &lt;echo-component doc:name="Echo"/&gt;
  &lt;/flow&gt;
  </code></pre>
  
  <p></p>
  
  <p><strong>I am getting exception, but operation is there in WSDL</strong></p>
  
  <pre><code>Message               : No such operation: retrieveServiceContent. Failed to route event via endpoint: org.mule.module.cxf.CxfOutboundMessageProcessor. Message payload is of type: ManagedObjectReference
  Code                  : MULE_ERROR--2
  
  --------------------------------------------------------------------------------
  Exception stack is:
  1. No such operation: retrieveServiceContent (java.lang.Exception)
    org.mule.module.cxf.CxfOutboundMessageProcessor:282 (null)
  2. No such operation: retrieveServiceContent. Failed to route event via endpoint: org.mule.module.cxf.CxfOutboundMessageProcessor. Message payload is of type: ManagedObjectReference (org.mule.api.transport.DispatchException)
    org.mule.module.cxf.CxfOutboundMessageProcessor:150 (http://www.mulesoft.org/docs/site/current3/apidocs/org/mule/api/transport/DispatchException.html)
  --------------------------------------------------------------------------------
  Root Exception stack trace:
  java.lang.Exception: No such operation: retrieveServiceContent
      at org.mule.module.cxf.CxfOutboundMessageProcessor.getOperation(CxfOutboundMessageProcessor.java:282)
      at org.mule.module.cxf.CxfOutboundMessageProcessor.getMethodFromOperation(CxfOutboundMessageProcessor.java:322)
      at org.mule.module.cxf.CxfOutboundMessageProcessor.getMethod(CxfOutboundMessageProcessor.java:259)
      + 3 more (set debug level logging or '-Dmule.verbose.exceptions=true' for everything)
  </code></pre>
  
  <p>Following is WSDL in operation: I am confused and around 4 days on it as i am new to mule.</p>
  
  <pre><code>  &lt;operation name="RetrieveServiceContent"&gt;
       &lt;input message="vim2:RetrieveServiceContentRequestMsg" /&gt;
       &lt;output message="vim2:RetrieveServiceContentResponseMsg" /&gt;
       &lt;fault name="RuntimeFault" message="vim2:RuntimeFaultFaultMsg"/&gt;
    &lt;/operation&gt;
  </code></pre>