OCRWebService


Click here for a complete list of operations.

OCRWebServiceLog

Test

The test form is only available for methods with primitive types as parameters.

SOAP 1.1

The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.

POST /services/OCRWebService.asmx HTTP/1.1
Host: www.ocrwebservice.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://stockservice.contoso.com/wse/samples/2005/10/OCRWebServiceLog"

<?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>
    <OCRWebServiceLog xmlns="http://stockservice.contoso.com/wse/samples/2005/10">
      <user_name>string</user_name>
      <license_code>string</license_code>
      <from_date>string</from_date>
      <to_date>string</to_date>
      <reserved>
        <string>string</string>
        <string>string</string>
      </reserved>
    </OCRWebServiceLog>
  </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>
    <OCRWebServiceLogResponse xmlns="http://stockservice.contoso.com/wse/samples/2005/10">
      <OCRWebServiceLogResult>string</OCRWebServiceLogResult>
    </OCRWebServiceLogResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.

POST /services/OCRWebService.asmx HTTP/1.1
Host: www.ocrwebservice.com
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <OCRWebServiceLog xmlns="http://stockservice.contoso.com/wse/samples/2005/10">
      <user_name>string</user_name>
      <license_code>string</license_code>
      <from_date>string</from_date>
      <to_date>string</to_date>
      <reserved>
        <string>string</string>
        <string>string</string>
      </reserved>
    </OCRWebServiceLog>
  </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <OCRWebServiceLogResponse xmlns="http://stockservice.contoso.com/wse/samples/2005/10">
      <OCRWebServiceLogResult>string</OCRWebServiceLogResult>
    </OCRWebServiceLogResponse>
  </soap12:Body>
</soap12:Envelope>

HTTP GET

The following is a sample HTTP GET request and response. The placeholders shown need to be replaced with actual values.

GET /services/OCRWebService.asmx/OCRWebServiceLog?user_name=string&license_code=string&from_date=string&to_date=string&reserved=string&reserved=string HTTP/1.1
Host: www.ocrwebservice.com
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<string xmlns="http://stockservice.contoso.com/wse/samples/2005/10">string</string>

HTTP POST

The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.

POST /services/OCRWebService.asmx/OCRWebServiceLog HTTP/1.1
Host: www.ocrwebservice.com
Content-Type: application/x-www-form-urlencoded
Content-Length: length

user_name=string&license_code=string&from_date=string&to_date=string&reserved=string&reserved=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="http://stockservice.contoso.com/wse/samples/2005/10">string</string>