title: Invoke SOAP based service using Apache Camel and spring-ws component
body: <p>I have SOAP based service which accepts some predefined request object, </p>
  
  <p>for example, AccountRequest having some fields.</p>
  
  <p>Sample code</p>
  
  <pre><code>from("direct:test")
      .routeId("account.get")
      .process(exchange -&gt; {
          exchange.getIn().setBody(createAccountRequest());
      })
      .to("spring-ws:http://localhost:8090/AccountServices/AccountOverviewService")
      .log("Got Request for account-detail");
  }
  </code></pre>
  
  <p>Above code throws an error </p>
  
  <pre><code>org.apache.camel.NoTypeConversionAvailableException: 
  No type converter available to convert from type: 
  com.test.AccountRequest to the required type: 
  javax.xml.transform.Source with value com.test.AccountRequest@4e1c1763
  </code></pre>
  
  <p>Is this right way to invoke soap service via camel?</p>
  
  <p>Dependencies</p>
  
  <pre><code>&lt;dependency&gt;
      &lt;groupId&gt;org.apache.camel&lt;/groupId&gt;
      &lt;artifactId&gt;camel-spring-boot-starter&lt;/artifactId&gt;
      &lt;version&gt;2.18.3&lt;/version&gt;
  &lt;/dependency&gt;
  &lt;dependency&gt;
      &lt;groupId&gt;org.apache.camel&lt;/groupId&gt;
      &lt;artifactId&gt;camel-spring-ws&lt;/artifactId&gt;
      &lt;version&gt;2.18.3&lt;/version&gt;
  &lt;/dependency&gt;
  </code></pre>