RLService


单击此处以获得完整的操作列表。

Query

Basic entrypoint for Query

测试

若要使用 HTTP GET 协议对操作进行测试,请单击“调用”按钮。
参数
queryXml:

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/Query"

<?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>
    <Query xmlns="urn:Microsoft.Search">
      <queryXml>string</queryXml>
    </Query>
  </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>
    <QueryResponse xmlns="urn:Microsoft.Search">
      <QueryResult>string</QueryResult>
    </QueryResponse>
  </soap:Body>
</soap:Envelope>

HTTP GET

下面是一个 HTTP GET 请求和响应示例。所显示的占位符需要由实际值替换。

GET /RLS.asmx/Query?queryXml=string 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/Query HTTP/1.1
Host: search.chinalaw.net
Content-Type: application/x-www-form-urlencoded
Content-Length: length

queryXml=string
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>