RLService


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

Registration

Basic registration entry point

测试

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

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

<?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>
    <Registration xmlns="urn:Microsoft.Search">
      <registrationXml>string</registrationXml>
    </Registration>
  </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>
    <RegistrationResponse xmlns="urn:Microsoft.Search">
      <RegistrationResult>string</RegistrationResult>
    </RegistrationResponse>
  </soap:Body>
</soap:Envelope>

HTTP GET

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

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

registrationXml=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>