Hi Aki,

If you need to send arbitrary payload to some target servcie, you may consider using Camel HTTP component. Camel CXF component uses ClientFactoryBean APIs (including message mode) which is subject to the limitation you observed.

Regards,
William

On 02/15/2011 07:49 AM, Aki Yoshida wrote:
Hi,
If you are writing a CXF client, you can write a client using the
CXF's dispatch API to send an arbitrary payload to some target
service.
I would like to configure a camel cxf endpoint that does the same
thing. However, the code seems to require either the WSDL or the
service class.
When I do not set both the wsdlURL and serviceClass parameters, it
still assumes the service class is set and starts initializing the
service class, leading to an NPE.

Am I missing something here or is this a known limitaiton?

Thanks for your help.

Regards, Aki

Reply via email to