2.获取商品入库建议 websocket测试 POST http://wms5idc12.jd.com/inbound/services/receivingWSSoap 请求说明 / 示例 ```xml POST http://wms5idc12.jd.com/inbound/services/receivingWSSoap 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^1658821162956^148 spanId: 20 pSpanId: 10 Content-Type: text/xml; charset=utf-8 SOAPAction: "" Host: wms5idc12.jd.com Content-Length: 549 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":"wms_getInboundTipsByGoodsNo","uuid":"436cbfd0-c75e-4860-b031-cd1cb8e700ad","callCode":"360BUY.WMS3.WS.CALLCODE.100"} </arg0> <arg1 xmlns="">{"orgNo":"6","distributeNo":"6","warehouseNo":"998","goodsNo":"EMG4418294625417"} </arg1> </queryWs> </soap:Body> </soap:Envelope> ``` 响应说明/示例 ```xml HTTP/1.1 200 OK Server: openresty/1.11.2.1 Date: Tue, 26 Jul 2022 07:39:23 GMT Content-Type: text/xml;charset=UTF-8 Connection: close Expires: Tue, 26 Jul 2022 07:39:23 GMT Cache-Control: max-age=0 Content-Length: 273 <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> </return> </ns2:queryWsResponse> </soap:Body> </soap:Envelope> ```
```xml POST http://wms5idc12.jd.com/inbound/services/receivingWSSoap 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^1658821162956^148 spanId: 20 pSpanId: 10 Content-Type: text/xml; charset=utf-8 SOAPAction: "" Host: wms5idc12.jd.com Content-Length: 549 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":"wms_getInboundTipsByGoodsNo","uuid":"436cbfd0-c75e-4860-b031-cd1cb8e700ad","callCode":"360BUY.WMS3.WS.CALLCODE.100"} </arg0> <arg1 xmlns="">{"orgNo":"6","distributeNo":"6","warehouseNo":"998","goodsNo":"EMG4418294625417"} </arg1> </queryWs> </soap:Body> </soap:Envelope> ```
```xml HTTP/1.1 200 OK Server: openresty/1.11.2.1 Date: Tue, 26 Jul 2022 07:39:23 GMT Content-Type: text/xml;charset=UTF-8 Connection: close Expires: Tue, 26 Jul 2022 07:39:23 GMT Cache-Control: max-age=0 Content-Length: 273 <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> </return> </ns2:queryWsResponse> </soap:Body> </soap:Envelope> ```