|
|
@@ -100,7 +100,7 @@ public class UasEisApplicationTests {
|
|
|
String xml = xmlMapper.writeValueAsString(prodBaseItemsReq);
|
|
|
logger.info("Request XML: {}", xml);
|
|
|
// 使用postXml方法发送请求
|
|
|
-// byte[] responseBytes = HttpUtil.postXmlToVWMS("openapi.items.synchronize",xml, "UTF-8",vwmsConfig);
|
|
|
+// byte[] responseBytes = HttpUtil.postXmlToVWMS("openapi.singleitem.synchronize",xml, "UTF-8",vwmsConfig);
|
|
|
// String responseText = new String(responseBytes, "UTF-8");
|
|
|
String responseText="<?xml version=\"1.0\" encoding=\"utf-8\"?><response><flag>success</flag><code>201</code><message>openapi.items.synchronize successfully</message></response>";
|
|
|
System.out.println("responseText:"+responseText);
|