|
CorrigoService - Web Service |
Click here for a complete list of operations.
ExecuteMultiple
Executes a list of messages that either represents a specialized method or specific business logic. It takes a list of instances of a CommandRequest base class message as an input parameter and returns a list of instances of a CommandResponse base class message. You must cast every CommandResponse instance returned by the ExecuteMultiple method to the specific instance of the response command that corresponds to the appropriate 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: emea-ent-f2.corrigo.com Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://corrigo.com/integration/ExecuteMultiple" <?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> <ExecuteMultiple xmlns="http://corrigo.com/integration/"> <requests> <CommandRequest /> <CommandRequest /> </requests> </ExecuteMultiple> </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> <ExecuteMultipleResponse xmlns="http://corrigo.com/integration/"> <CommandResponse> <CommandResponse> <ErrorInfo> <Number>long</Number> <Description>string</Description> <Type>string</Type> </ErrorInfo> </CommandResponse> <CommandResponse> <ErrorInfo> <Number>long</Number> <Description>string</Description> <Type>string</Type> </ErrorInfo> </CommandResponse> </CommandResponse> </ExecuteMultipleResponse> </soap:Body> </soap:Envelope>