码迷,mamicode.com
首页 > 其他好文 > 详细

v5迁v7 esb invoke改动

时间:2016-08-22 12:34:18      阅读:194      评论:0      收藏:0      [点我收藏+]

标签:

 

技术分享

 

// 调用接口
            ESBClient client = new ESBClient(60000, 60000, 60000);

            String reqXml1 = XmlTool.convertToXml(requestBo);
            System.out.println(reqXml1);

            // String reqXml2 = <soap ..xxxxxxxxxxxxxxxxxxxx> + reqXml + </soap>
            // System.out.println(reqXml2);

            responseBo = client.invoke(reqXml2, /** requestBo换成reqXml **/, url,map);

 

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:web="http://www.webservice.com">   <soapenv:Header/>   <soapenv:Body>     <web:SaveNewTask><arg0><![CDATA[  rerqXml2 ]]></arg0>     </web:SaveNewTask>    </soapenv:Body>   </soapenv:Envelope>

 

v5迁v7 esb invoke改动

标签:

原文地址:http://www.cnblogs.com/bobo1713930654/p/5794914.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!