CorrigoService - Web Service


Click here for a complete list of operations.

Execute

Executes a message that either represents a specialized method or specific business logic. It takes an instance of a CommandRequest base class message as input parameter and returns an instance of a CommandResponse base class message. You must cast the return value of the Execute method to the specific instance of the response command that corresponds to the request parameter.

Test

The test form is only available for requests from the local machine.

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 /wsdk/CorrigoService.asmx HTTP/1.1
Host: am-ce98f.corrigo.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://corrigo.com/integration/Execute"

<?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:Header>
    <CorrigoNetOptions xmlns="http://corrigo.com/integration/">
      <ImposeConcurrencyId>boolean</ImposeConcurrencyId>
      <CanDeleteMissingEntity>boolean</CanDeleteMissingEntity>
      <LockOnDataRetrieval>Default or ReadUncommitted or ReadCommitted or Snapshot</LockOnDataRetrieval>
    </CorrigoNetOptions>
  </soap:Header>
  <soap:Body>
    <Execute xmlns="http://corrigo.com/integration/">
      <commandRequest />
    </Execute>
  </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>
    <ExecuteResponse xmlns="http://corrigo.com/integration/">
      <ExecuteResult>
        <ErrorInfo>
          <Number>long</Number>
          <Description>string</Description>
          <Type>string</Type>
        </ErrorInfo>
      </ExecuteResult>
    </ExecuteResponse>
  </soap:Body>
</soap:Envelope>