- 浏览: 14088 次
- 性别:
- 来自: 北京
最新评论
文章列表
CXF 中文资料确实有限,既然查到了就记一下:
CXF 客户端设置代理代码如下:
Client client = ClientProxy.getClient(port);
HTTPConduit http = (HTTPConduit) client.getConduit();
HTTPClientPolicy httpClientPolicy = new HTTPClientPolicy();
httpClientPolicy.setConnectionTimeout(3600);
httpClientPolicy.setAllowChunking(false);
httpCli ...
你总想不到需求会有多操蛋,要求将报文头:
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
更改到:
<SOAP-ENV:Envelope xmlns:xsi="http://www.w3.o ...