RLService
单击此处以获得完整的操作列表。
Status
Entry point to test if server is alive. Will return 'ONLINE' or 'OFFLINE'
测试
若要使用 HTTP GET 协议对操作进行测试,请单击“调用”按钮。SOAP
下面是一个 SOAP 请求和响应示例。所显示的占位符需要由实际值替换。
POST /RLS.asmx HTTP/1.1
Host: search.chinalaw.net
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "urn:Microsoft.Search/Status"
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<Status xmlns="urn:Microsoft.Search" />
</soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<StatusResponse xmlns="urn:Microsoft.Search">
<StatusResult>string</StatusResult>
</StatusResponse>
</soap:Body>
</soap:Envelope>
HTTP GET
下面是一个 HTTP GET 请求和响应示例。所显示的占位符需要由实际值替换。
GET /RLS.asmx/Status? HTTP/1.1 Host: search.chinalaw.net
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <string xmlns="urn:Microsoft.Search">string</string>
HTTP POST
下面是一个 HTTP POST 请求和响应示例。所显示的占位符需要由实际值替换。
POST /RLS.asmx/Status HTTP/1.1 Host: search.chinalaw.net Content-Type: application/x-www-form-urlencoded Content-Length: length
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <string xmlns="urn:Microsoft.Search">string</string>