Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-12976

cxf route calling rest api service throws exception

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • 2.22.2
    • None
    • camel-http-common
    • None
    • Unknown

    Description

      Hello,

      I create a cxf route which exposes a soap ws.

      Inside the route I call a rest service using a second route. (Its just a soap proxy for a rest call)

      However, the rest service call gives back a http 405.

      If I call the rest service directly from SoapUI, everything works as expected.

      I have attached the trace of my camel server.

      i have also attached my camel processor class.

      It has two routes, one "direct:getOperatorsProviderRequestAll" works just fine.

      The second route "direct:getOperatorsProviderRequestByID" is producing the error.

      I read about the ticket https://issues.apache.org/jira/browse/CAMEL-11951

      I thought it might be a similar problem?

      Thanks and regards

      Matthias

       

      Attachments

        1. servertrace.txt
          55 kB
          Matthias Fricke
        2. HapWsProcessor.java
          7 kB
          Matthias Fricke
        3. hap_camel_junit_Trace.txt
          78 kB
          Matthias Fricke

        Activity

          People

            Unassigned Unassigned
            sapstern Matthias Fricke
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: