【发布时间】:2012-12-22 08:19:21
【问题描述】:
我是骆驼新手。
我想将以下代理路由添加到soap服务作为运行时。
from("cxf://http://localhost:8081/CentrelServer/NewWebService?" +
"serviceClass=com.vnitt.webservice.axis.NewWebService" +
"&serviceName={http://axis.webservice.vnitt.com/}NewWebService" +
"&portName={http://axis.webservice.vnitt.com/}NewWebServicePort" +
"&wsdlURL=src/conf/NewWebService.wsdl").
process(new Processor() {
public void process(Exchange arg0) throws Exception {
System.out.println("code run here");
}
}).to(clientService);
在上面的代码中,我希望 clientService 指向地址为:http://localhost:9091/Client/NewWebService 的肥皂服务
我不知道如何创建 EndPoint clientService。
请帮帮我。
谢谢。
【问题讨论】:
标签: soap apache-camel endpoint