Uploaded image for project: 'Red Hat build of Apache Camel for Spring Boot'
  1. Red Hat build of Apache Camel for Spring Boot
  2. CSB-2156

camel-olingo4 - action with V4 service is not working

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Normal Normal
    • None
    • CSB-4.0
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • Very Likely
    • 0

      Hello, in order to test olingo4 I am using the following service https://www.odata.org/odata-services/ OdataV4.
      When invoking an action like People('russellwhyte')/Microsoft.OData.SampleService.Models.TripPin.GetFavoriteAirline The exception Type 'Microsoft.OData.SampleService.Models.TripPin.GetFavoriteAirline' not found. is thrown, attached you can find an example project.

      I noticed that the upstream test that execute an action is disabled too https://github.com/apache/camel/blob/main/components/camel-olingo4/camel-olingo4-component/src/test/java/org/apache/camel/component/olingo4/Olingo4ComponentProducerTest.java#L325

      I could not find any information from the camel-olingo4 documentation, is it a supported use case?

      To run the attached reproducer, you can mvn spring-boot:run and once it is running curl http://localhost:8080/camel/people/action

            johnpoth John Poth
            fmariani@redhat.com Federico Mariani
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: