davsclaus opened a new issue, #3335:
URL: https://github.com/apache/camel-kamelets/issues/3335

   Legacy systems still talk SOAP. Two new Kamelets would let a YAML route act 
as a SOAP facade in front of old clients (and call modern systems behind it), 
and call an existing SOAP service, using only the WSDL. JAXB or `wsdl2java` 
code generation would not be needed.
   
   - `soap-source`: exposes the service of a WSDL (`wsdlURL` from `classpath:`, 
`file:` or `http:`), and serves `?wsdl`. It gives the route the SOAP body as 
XML, with the operation name as a header, and sends the route's reply back as 
the SOAP response. Errors go back as SOAP faults.
   - `soap-action`: calls an operation of an existing SOAP service from its 
WSDL, with an XML body, and gives back the response payload. A fault fails the 
message.
   - Both build on camel-cxf in `PAYLOAD` mode and are marked Preview. JSON in 
the middle (XML → JSON → XML) is a documented option or uses the existing 
XML/JSON actions.
   - Security: XML from clients is untrusted, so DTDs and external entities are 
refused. The Kamelet removes headers that would redirect the call, and 
credentials are marked as such.
   - Citrus tests: a facade in front of a backend service, a fault, and a 
request with a DOCTYPE.
   
   _Claude Code on behalf of Claus Ibsen_


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to