the same error.
i am also tested :
from("jetty:http://localhost:8080/json?matchOnUriPrefix=true").
process(new Processor() {
@Override
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);
}
}).marshal().xstream().to("localhost:9060/ws/policyServices/findPolicy?bridgeEndpoint=true");
and i got :
HTTP operation failed invoking
http://localhost:9060/ws/policyServices/findPolicy with statusCode: 403
i try to routing from rest to soap ,
--
View this message in context:
http://camel.465427.n5.nabble.com/rest-to-soap-tp5782601p5782608.html
Sent from the Camel - Users mailing list archive at Nabble.com.