Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-9919

Restlet producer sending null body

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • fuse-7.2
    • fuse-7.0.1, fuse-7.1
    • Camel, Fuse Distribution
    • None
    • % %
    • Hide

      Use a different Camel component such as http4:.

      Show
      Use a different Camel component such as http4: .
    • Hide

      In a fuse-karaf-7.0.1.fuse-000011-redhat-3 fresh installation :

      1. Install camel-jetty and camel-cxf features.
      2. Build the consumer and the producer attached projects.
      3. Put the "consumer-1.0.0.jar" and "producer-1.0.0.jar" artifacts in the deploy folder.
      4. Try to send a request to http://localhost:8888/example with the following body:

      <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:per="http://example.com/Person/">
      <soapenv:Header/>
      <soapenv:Body>
      <per:NewOperation>
      <person>
      <name>a</name>
      <document>a</document>
      </person>
      </per:NewOperation>
      </soapenv:Body>
      </soapenv:Envelope>

      Note: If the restlet endpoint is changed to a jetty component, the route works as expected (the consumer receive the correct body)

      Show
      In a fuse-karaf-7.0.1.fuse-000011-redhat-3 fresh installation : Install camel-jetty and camel-cxf features. Build the consumer and the producer attached projects. Put the "consumer-1.0.0.jar" and "producer-1.0.0.jar" artifacts in the deploy folder. Try to send a request to http://localhost:8888/example with the following body: <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:per="http://example.com/Person/"> <soapenv:Header/> <soapenv:Body> <per:NewOperation> <person> <name>a</name> <document>a</document> </person> </per:NewOperation> </soapenv:Body> </soapenv:Envelope> Note: If the restlet endpoint is changed to a jetty component, the route works as expected (the consumer receive the correct body)

      Using restlet endpoint as a producer remove body content.

        1. consumer_producer.tar.xz
          23 kB
          Elkin Dario Munoz Duarte

              rhn-support-tasato Tadayoshi Sato
              emunoz@redhat.com Elkin Dario Munoz Duarte
              Tomas Veskrna Tomas Veskrna
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: