I have a cxf web services endpoint (cxf:bean:myservice) that expects to
receive requests to localhost/myservice, i.e. address =
https://0.0.0.0/myservice. Of course, it will also receive anything under
this path, e.g. localhost/myservice/*.
I want to send requests to this cxf endpoint with a dynamic subpath, e.g.
localhost/myservice/customer1. I tried to set the CamelHttpPath (to
"customer1") as one of the headers when calling
pTemplate.sendBodyAndHeaders("cxf:bean:myservice", body, headers). But the
subpath is ignored and the consumer only sees the main path. Is there a way
to do this using the existing cxf endpoint, or I have to use camel-http to
build the HTTP call?
Any help will be greatly appreciated.
receive requests to localhost/myservice, i.e. address =
https://0.0.0.0/myservice. Of course, it will also receive anything under
this path, e.g. localhost/myservice/*.
I want to send requests to this cxf endpoint with a dynamic subpath, e.g.
localhost/myservice/customer1. I tried to set the CamelHttpPath (to
"customer1") as one of the headers when calling
pTemplate.sendBodyAndHeaders("cxf:bean:myservice", body, headers). But the
subpath is ignored and the consumer only sees the main path. Is there a way
to do this using the existing cxf endpoint, or I have to use camel-http to
build the HTTP call?
Any help will be greatly appreciated.