|
|
@@ -305,7 +305,7 @@ public class DocCommonServiceImpl implements DocCommonService {
|
|
|
public String doPostToWms(String xml,String method){
|
|
|
String eMsg = null;
|
|
|
try {
|
|
|
- logger.info("doPostToWms method:{} XML: {}",method, xml);
|
|
|
+ logger.info("doPostToWms-{} XML: {}",method, xml);
|
|
|
// HttpUtil.Response response = new HttpUtil.Response();
|
|
|
// response.setStatusCode(404);
|
|
|
// response.setResponseText("单据已分配。");
|
|
|
@@ -313,7 +313,7 @@ public class DocCommonServiceImpl implements DocCommonService {
|
|
|
if(!String.valueOf(response.getStatusCode()).startsWith("2")){
|
|
|
eMsg = "("+response.getStatusCode()+")"+StringUtil.nvl(response.getResponseText(),"未知").replaceAll("'","''");
|
|
|
}else {
|
|
|
- logger.info("doPostToWms method:{} response: {}",response.getResponseText());
|
|
|
+ logger.info("doPostToWms-{} response: {}",method,response.getResponseText());
|
|
|
// 创建XmlMapper实例
|
|
|
XmlMapper xmlMapper = new XmlMapper();
|
|
|
IOResp ioResp = xmlMapper.readValue(response.getResponseText(), IOResp.class);
|