// 调用接口 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>
时间: 2024-10-04 05:46:35