标签:
// 调用接口 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>
标签:
原文地址:http://www.cnblogs.com/bobo1713930654/p/5794914.html