You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by clover <bu...@gmail.com> on 2013/05/16 16:40:59 UTC

How to access CXF's payload mesage parts?

Hi everyone,

i have a Camel route deployed as a servlet. It programmatically creates SOAP
request messages based on user input. For this purpose, i've written a
custom Processor that creates CxfPayload and sends it to the Web service.
The Web service is specified with a Uri in the route and the PAYLOAD data
format. The route is generic and allows to work with multiple Web services.

My question is as follows:
In order to create the payload i need access to the message parts of the
operation, so that i can set the parameters. I've found that CxfProducer
does this internally with

client.getEndpoint().getEndpointInfo().getBinding().getOperation(qname)

where qname is the QName of the operation. But client is created and started
by CxfProducer and i don't know how to access it from outside. CxfEndpoint
does not have methods to extract this kind of information either (at least i
could not find them). I'd really appreciate your help.

Thanks in advance!



--
View this message in context: http://camel.465427.n5.nabble.com/How-to-access-CXF-s-payload-mesage-parts-tp5732679.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: How to access CXF's payload mesage parts?

Posted by clover <bu...@gmail.com>.
bump.

and a short summary about the help i need: i need to access a web service's
operations and their details from within a processor class of camel. how do
i do that?

thanks again.



--
View this message in context: http://camel.465427.n5.nabble.com/How-to-access-CXF-s-payload-mesage-parts-tp5732679p5741926.html
Sent from the Camel - Users mailing list archive at Nabble.com.