apache / apache/camel-quarkus

Camel Quarkus missing extension for artifactId camel-cxf-rest (cxfrs)

Open
#7,977 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
302
Forks
232
Avg merge
1d 22h
Merged PRs (30d)
108

Description

I would like to use the Apache CXF openapifeature

The Apache CXF OpenAPIfeature allows to reexpose a soap service with wsdl as a rest service with OpenAPI specification

OpenAPIfeature allows
wsdl -> OpenAPI specification
at runtime convert json->xml and xml->json

taking wsdl into account so that xml->json
string/integer are correctly represented in json
array vs element are correctly transformed

technically
wsdl -> jaxb classes (wsdl2java maven plugin)
implement service class for soap service with rest annotations
the service class references the jaxb classes and is used to generate the OpenAPI specification and that way the wsdl and OpenAPI specifcation matches
The com.fasterxml.jackson.databind.ObjectMapper is used to convert json->jaxbclass->xml and xml->jaxbclass->json at runtime together with
JAXB.marshal
JAXBContext jaxbContext = JAXBContext.newInstance(contextPath);
Unmarshaller um = jaxbContext.createUnmarshaller();

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by investigating how Camel Quarkus extensions are defined and how the camel-cxf-rest (cxfrs) artifact would fit that structure. Review the existing extension metadata and related tests, then determine the required scope for exposing the Apache CXF OpenAPIfeature; done means the extension is available and its behavior is covered by project tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
api, backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.