6.检查 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^1658801520897^125 spanId: 20 pSpanId: 10 Content-Type: text/xml; charset=utf-8 SOAPAction: "" Host: wms5idc12.jd.com Content-Length: 2397 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_receiving_checkValueAddedServiceDone", "uuid":"becdd5aa-c1d6-40a7-93c1-57c3d2e54f3e", "callCode":"360BUY.WMS3.WS.CALLCODE.100" } </arg0> <arg1 xmlns=""> { "closeTime":null, "inboundFinishUser":null, "inboundFinishTime":null, "outWaveNo":null, "id":0, "inboundNo":"EPL4418071566890", "trackingNo":null, "uuid":null, "originalInboundNo":null, "poNo":null, "bookingNo":null, "ownerNo":null, "ownerName":null, "orgNo":"6", "orgName":null, "distributeNo":"6", "warehouseNo":"998", "inboundType":null, "subInboundType":null, "inboundStatus":0, "inboundStatusMR":null, "receivingType":null, "totalQty":null, "totalWeight":null, "weightUnit":null, "totalVolume":null, "labelQty":null, "purchaseType":null, "arriveAgainFlag":null, "receivingTimes":0, "remark":null, "supplierGradName":null, "purchaseTransFlag":null, "dockNo":null, "bookingTimeBegin":null, "bookingTimeEnd":null, "carrierNo":null, "carrierName":null, "supplierNo":null, "supplierName":null, "createUser":null, "createTime":"0001-01-01 00:00:00.000", "updateUser":null, "updateTime":null, "yn":0, "resendOrder":null, "printFlag":0, "resendTime":null, "goodsNo":null, "qryPrintCode":0, "source":0, "eclpSign":0, "rejectTime":null, "firstSignInTime":null, "markSign":null, "shipperType":null, "isCarton":null, "grade":null, "inboundBeginTime":null, "needReceivingByBillProductLevel":false, "snCollectType":null, "userPassword":null, "userAccount":null, "userCode":null, "boxFlag":false, "popularFlag":false, "cellReceivingType":null, "batchReceivedQty":null, "ibReceivingTaskDList":null, "defectiveShelfLifeFlag":null, "receivingMethod":null, "shopType":null, "validShelf":null, "orderMark":null, "asnMark":null, "inboundMark":null, "orderReason":null, "shopId":null, "isBoxRemark":null, "isBatch":null, "inbounds":null, "freeFreight":null, "skipStore":false, "mergeAsnNo":null, "appreciationServeStatus":null, "collectTemperatureTag":null, "ibAppreciationDList":null, "ibAppreciationMList":null, "ibReceivingTaskmB2BEx":null, "appreciationServeFlag":false, "asnSubType":null, "sourceWarehouse":null, "canReceivingByBoxFlag":0, "isAllowDiffReason":null, "sellerRtwTypeName":null, "getSerialFromEclpFLag":false } </arg1> </queryWs> </soap:Body> </soap:Envelope> ``` 响应说明/示例 ```xml HTTP/1.1 200 OK Server: openresty/1.11.2.1 Date: Tue, 26 Jul 2022 02:12:01 GMT Content-Type: text/xml;charset=UTF-8 Connection: close Expires: Tue, 26 Jul 2022 02:12:01 GMT Cache-Control: max-age=0 Content-Length: 346 <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> { "orderStatus":0, "valueAddedServiceDone":true } </resultValue> </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^1658801520897^125 spanId: 20 pSpanId: 10 Content-Type: text/xml; charset=utf-8 SOAPAction: "" Host: wms5idc12.jd.com Content-Length: 2397 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_receiving_checkValueAddedServiceDone", "uuid":"becdd5aa-c1d6-40a7-93c1-57c3d2e54f3e", "callCode":"360BUY.WMS3.WS.CALLCODE.100" } </arg0> <arg1 xmlns=""> { "closeTime":null, "inboundFinishUser":null, "inboundFinishTime":null, "outWaveNo":null, "id":0, "inboundNo":"EPL4418071566890", "trackingNo":null, "uuid":null, "originalInboundNo":null, "poNo":null, "bookingNo":null, "ownerNo":null, "ownerName":null, "orgNo":"6", "orgName":null, "distributeNo":"6", "warehouseNo":"998", "inboundType":null, "subInboundType":null, "inboundStatus":0, "inboundStatusMR":null, "receivingType":null, "totalQty":null, "totalWeight":null, "weightUnit":null, "totalVolume":null, "labelQty":null, "purchaseType":null, "arriveAgainFlag":null, "receivingTimes":0, "remark":null, "supplierGradName":null, "purchaseTransFlag":null, "dockNo":null, "bookingTimeBegin":null, "bookingTimeEnd":null, "carrierNo":null, "carrierName":null, "supplierNo":null, "supplierName":null, "createUser":null, "createTime":"0001-01-01 00:00:00.000", "updateUser":null, "updateTime":null, "yn":0, "resendOrder":null, "printFlag":0, "resendTime":null, "goodsNo":null, "qryPrintCode":0, "source":0, "eclpSign":0, "rejectTime":null, "firstSignInTime":null, "markSign":null, "shipperType":null, "isCarton":null, "grade":null, "inboundBeginTime":null, "needReceivingByBillProductLevel":false, "snCollectType":null, "userPassword":null, "userAccount":null, "userCode":null, "boxFlag":false, "popularFlag":false, "cellReceivingType":null, "batchReceivedQty":null, "ibReceivingTaskDList":null, "defectiveShelfLifeFlag":null, "receivingMethod":null, "shopType":null, "validShelf":null, "orderMark":null, "asnMark":null, "inboundMark":null, "orderReason":null, "shopId":null, "isBoxRemark":null, "isBatch":null, "inbounds":null, "freeFreight":null, "skipStore":false, "mergeAsnNo":null, "appreciationServeStatus":null, "collectTemperatureTag":null, "ibAppreciationDList":null, "ibAppreciationMList":null, "ibReceivingTaskmB2BEx":null, "appreciationServeFlag":false, "asnSubType":null, "sourceWarehouse":null, "canReceivingByBoxFlag":0, "isAllowDiffReason":null, "sellerRtwTypeName":null, "getSerialFromEclpFLag":false } </arg1> </queryWs> </soap:Body> </soap:Envelope> ```
```xml HTTP/1.1 200 OK Server: openresty/1.11.2.1 Date: Tue, 26 Jul 2022 02:12:01 GMT Content-Type: text/xml;charset=UTF-8 Connection: close Expires: Tue, 26 Jul 2022 02:12:01 GMT Cache-Control: max-age=0 Content-Length: 346 <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> { "orderStatus":0, "valueAddedServiceDone":true } </resultValue> </return> </ns2:queryWsResponse> </soap:Body> </soap:Envelope> ```