now i process the request : public void process(Exchange exchange) throws Exception { * String payload = exchange.getIn().getBody(String.class); JSONObject jsonObj = JSONObject.fromObject(payload);* BeanInvocation beanInvocation = new BeanInvocation(); beanInvocation.setMethod(PolicySOAPServices.class.getMethod("findPolicy", RequestPolicyView.class)); RequestPolicyView requestPolicyView = new RequestPolicyView(); requestPolicyView.setPolicyNo( (Integer)jsonObj.get("policyNo")); Object[] args = new Object[] {requestPolicyView}; beanInvocation.setArgs(args); exchange.getIn().setBody(beanInvocation); } }).to("http://alis-dps-bl:8085/dps_sl_env3/ws/policyServices/findPolicy?bridgeEndpoint=true");
but i still get the same error ,what i did wrong? -- View this message in context: http://camel.465427.n5.nabble.com/rest-to-soap-tp5782601p5782606.html Sent from the Camel - Users mailing list archive at Nabble.com.