How did you set the OperationName header? Please make sure the message body is match the Operation that you want invoke.
-- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On April 30, 2014 at 7:54:27 PM, bharadwaj ([email protected]) wrote: > CaughtExceptionType:java.lang.IllegalArgumentException, > CaughtExceptionMessage:The PayLoad elements cannot fit with the message > parts of the BindingOperation. Please check the BindingOperation and > PayLoadMessage., StackTrace:java.lang.IllegalArgumentException: The PayLoad > elements cannot fit with the message parts of the BindingOperation. Please > check the BindingOperation and PayLoadMessage. > at > org.apache.camel.component.cxf.CxfEndpoint$CamelCxfClientImpl.setParameters(CxfEndpoint.java:907) > > at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:510) > at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:456) > at org.apache.camel.component.cxf.CxfProducer.process(CxfProducer.java:112) > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/The-PayLoad-elements-cannot-fit-with-the-message-parts-of-the-BindingOperation-tp5750724.html > > Sent from the Camel - Users mailing list archive at Nabble.com. >
