If you just want to specify the operation with params from scratch, you
can try the camel-cxf[1] with the POJO DataFormat, you can find the
example here[2]
If you already have a SOAP envelope request, I think you need to try do
the transformation yourself.
[1]http://cwiki.apache.org/CAMEL/cxf.html
[1]http://cwiki.apache.org/CAMEL/cxf.html#CXF-HowtopreparethemessageforthecamelcxfendpointinPOJOdataformat
Willem
Olivier Roger wrote:
Hello Camel,
I have done some testing before I could invoke a webservice using Camel.
I still see two issues using my current solution:
1- At the moment I have to wrap my Exchange body with a SOAP envelope.
To process the result I also have to remove it from the SOAP response.
2- I also would like to do it without with a minimum of configuration. For
example I now have this:
<enrich uri="http://localhost:8080/GetCity/process?data=1030"
strategyRef="aggregationStrategy" />
As you can see the Service and methods names are given inside the URI, that
does not botter me that much. What is more problematic is the data
parameter, I would like for it to be message dependent.
Could someone tell me if and how it is possible to let Camel handle the SOAP
transformation and how I can provide service, method and parameter values in
that case ?
Thanks in advance,
Olivier