title: org.apache.cxf.transport.http.HTTPException: HTTP response '415
body: <p>I am trying to call an external webservice running outside my machine and i have written the rout logic using camel framework</p>
  
  <p><strong>Routing Code:</strong></p>
  
  <pre><code>from("direct:test1").process(new Processor() {                                       
      @Override
      public void process(Exchange arg0) throws Exception {
          arg0.getOut().setBody("testmessage");
      }
  }).to("cxf://http://localhost:8085/FinEdge-General/xrmServices/2011/Organization.svc?serviceClass=com.hcl.flsl.integration.msdn.crmwcf.IOrganizationService&amp;defaultOperationName=Retrieve")  
  </code></pre>
  
  <p>But when i execute the program i am getting the below error.</p>
  
  <p><strong>Error</strong></p>
  
  <blockquote>
    <p>org.apache.cxf.transport.http.HTTPException: HTTP response '415:
    Cannot process the message because the content type 'text/xml;
    charset=UTF-8' was not the expected type 'application/soap+xml;
    charset=utf-8'.' when communicating with
    \\http://localhost:port/FinEdge-General/xrmServices/2011/Organization.svc</p>
  </blockquote>
  
  <p>Note: Webservice is developed in .NET(WCF) and SOAP 1.2.</p>