davsclaus opened a new pull request, #30609:
URL: https://github.com/apache/camel/pull/30609

   Follow-up of CAMEL-27389 (resolved for 4.24.0, not released yet, so no new 
ticket).
   
   `camel generate wsdl --route=consumer` still wrote 
`cxf://http://0.0.0.0:<port>/<path>` for `--runtime=camel-main` (the default). 
Since #30603 a cxf consumer in Camel Main and the Camel CLI is served on 
platform-http, and `camel run` of that route fails at start with "The address 
of a cxf consumer must be a path, such as cxf:/orders, but was: 
http://0.0.0.0:8080/orders";.
   
   ## Changes
   
   - The consumer scaffold always writes the path of the WSDL address, such as 
`cxf:/orders`. Camel Main, Spring Boot and Quarkus all serve it under 
`/services`, and the header comment of the route says so 
(`http://localhost:8080/services/orders` with the default port).
   - The `--runtime` option is removed: it no longer changes the route, and the 
command is new in 4.24.0 (CAMEL-27376), so nothing released uses it.
   - Docs: the consumer text in `camel-jbang-projects.adoc`, and the 
regenerated command page and metadata.
   - Test: `theConsumerAddressIsThePathOfTheWsdlAddress`, and the golden file 
and the other consumer tests assert the path address.
   
   ## Tested
   
   - `CodeWsdlGeneratorTest`: 26 tests pass.
   - `camel run` of the scaffolded `orders.wsdl` consumer (installed 
4.24.0-SNAPSHOT CLI): the WSDL is at `/services/orders?wsdl`, and a request is 
validated against the schema.
   
   _Claude Code on behalf of Claus Ibsen_
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)
   


-- 
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