1.获取配置 websocket测试 POST http://wms5idc12.jd.com/mcs/service/simpleWebServiceSoap 请求说明 / 示例 ```xml POST http://wms5idc12.jd.com/mcs/service/simpleWebServiceSoap HTTP/1.1 User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services Client Protocol 4.0.30319.42000) routerule: 6,6,998 Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJsb2dpblRpbWUiOiIyMDIyLTA3LTI1IDExOjA3OjUxIiwiZGlzdHJpYnV0ZU5vIjoiNiIsIm9yZ05vIjoiNiIsIndhcmVob3VzZU5vIjoiOTk4IiwibG9naW5BY2NvdW50IjoibHVvcnVpMjQifQ.lw9lM8GPnU7Ognn-RNaLL3rN9PXvXuHj_t7iJVDzBaw txId: BC:54:2F:88:42:DF^1658823973065^186 spanId: 20 pSpanId: 10 Content-Type: text/xml; charset=utf-8 SOAPAction: "" Host: wms5idc12.jd.com Content-Length: 762 Expect: 100-continue <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <queryWs xmlns="http://wms3.360buy.com"> <arg0 xmlns="">{"bizType":"getSysConfigValue","uuid":"ab400b32-3745-42bf-befb-0cde932e6154","callCode":"360BUY.WMS3.WS.CALLCODE.9999"} </arg0> <arg1 xmlns="">{"aisle":null,"uuid":null,"zoneNo":null,"areaNo":null,"code":null,"key":"wms5_receiving_version_control","colNames":null,"needExtAttr":null,"returnMessageFlag":false,"createUser":null,"updateUser":null,"orgNo":"6","warehouseNo":"998","distributeNo":"6","orgName":null,"dcName":null,"warehouseName":null} </arg1> </queryWs> </soap:Body> </soap:Envelope> ``` 响应说明/示例 ```xml HTTP/1.1 200 OK Server: openresty/1.11.2.1 Date: Tue, 26 Jul 2022 08:26:14 GMT Content-Type: text/xml;charset=UTF-8 Connection: close Expires: Tue, 26 Jul 2022 08:26:14 GMT Cache-Control: max-age=0 Content-Length: 304 <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <ns2:queryWsResponse xmlns:ns2="http://wms3.360buy.com"> <return> <resultCode>1</resultCode> <resultMessage>调用成功</resultMessage> <resultValue>1000</resultValue> </return> </ns2:queryWsResponse> </soap:Body> </soap:Envelope> ```
```xml POST http://wms5idc12.jd.com/mcs/service/simpleWebServiceSoap HTTP/1.1 User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services Client Protocol 4.0.30319.42000) routerule: 6,6,998 Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJsb2dpblRpbWUiOiIyMDIyLTA3LTI1IDExOjA3OjUxIiwiZGlzdHJpYnV0ZU5vIjoiNiIsIm9yZ05vIjoiNiIsIndhcmVob3VzZU5vIjoiOTk4IiwibG9naW5BY2NvdW50IjoibHVvcnVpMjQifQ.lw9lM8GPnU7Ognn-RNaLL3rN9PXvXuHj_t7iJVDzBaw txId: BC:54:2F:88:42:DF^1658823973065^186 spanId: 20 pSpanId: 10 Content-Type: text/xml; charset=utf-8 SOAPAction: "" Host: wms5idc12.jd.com Content-Length: 762 Expect: 100-continue <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <queryWs xmlns="http://wms3.360buy.com"> <arg0 xmlns="">{"bizType":"getSysConfigValue","uuid":"ab400b32-3745-42bf-befb-0cde932e6154","callCode":"360BUY.WMS3.WS.CALLCODE.9999"} </arg0> <arg1 xmlns="">{"aisle":null,"uuid":null,"zoneNo":null,"areaNo":null,"code":null,"key":"wms5_receiving_version_control","colNames":null,"needExtAttr":null,"returnMessageFlag":false,"createUser":null,"updateUser":null,"orgNo":"6","warehouseNo":"998","distributeNo":"6","orgName":null,"dcName":null,"warehouseName":null} </arg1> </queryWs> </soap:Body> </soap:Envelope> ```
```xml HTTP/1.1 200 OK Server: openresty/1.11.2.1 Date: Tue, 26 Jul 2022 08:26:14 GMT Content-Type: text/xml;charset=UTF-8 Connection: close Expires: Tue, 26 Jul 2022 08:26:14 GMT Cache-Control: max-age=0 Content-Length: 304 <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <ns2:queryWsResponse xmlns:ns2="http://wms3.360buy.com"> <return> <resultCode>1</resultCode> <resultMessage>调用成功</resultMessage> <resultValue>1000</resultValue> </return> </ns2:queryWsResponse> </soap:Body> </soap:Envelope> ```