camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Willem Jiang <willem.ji...@gmail.com>
Subject Re: Passing multiple parameters to CXF endpoint
Date Thu, 05 Dec 2013 08:06:26 GMT
Hi,

You need set up the defaultOperationName option in the url if you don’t set the OperationName
header on the message.

-- 
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 December 5, 2013 at 2:49:59 PM, trilochan237 (kartheektrilochan237@gmail.com) wrote:
>
>Hi,
>Can anyone help in passing multiple parameters to the CXF endpoint which is
>expecting multiple parameters.
>
>from("direct:test1").process(new Processor() {
>
>@Override
>public void process(Exchange arg0) throws Exception {
>arg0.getOut().setBody("testmessage");
>
>}
>
>}).to("cxf://http://localhost:8085/FinEdge-General/xrmServices/2011/Organization.svc?serviceClass=com.hcl.flsl.integration.msdn.crmwcf.IOrganizationService");
>
>Error I am facing is:
>
>et the wrong parameter size to invoke the out service, Expect size 3,
>Parameter size 1. Please check if the message body matches the CXFEndpoint
>POJO Dataformat request.
>
>
>
>--
>View this message in context: http://camel.465427.n5.nabble.com/Passing-multiple-parameters-to-CXF-endpoint-tp5744345.html
>Sent from the Camel - Users mailing list archive at Nabble.com.
>


Mime
View raw message