|
CorrigoService - Web Service |
Click here for a complete list of operations.
GetCompanyWsdkUrl
Converts a Company Name argument into a fully-qualified URL for WSDK calls.
Test
To test the operation using the HTTP POST protocol, click the 'Invoke' button.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-ce915.corrigo.com Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://corrigo.com/integration/GetCompanyWsdkUrl" <?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> <GetCompanyWsdkUrl xmlns="http://corrigo.com/integration/"> <CompanyName>string</CompanyName> <Protocol>HTTP or HTTPS</Protocol> </GetCompanyWsdkUrl> </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> <GetCompanyWsdkUrlResponse xmlns="http://corrigo.com/integration/"> <GetCompanyWsdkUrlResult> <ErrorInfo> <Number>long</Number> <Description>string</Description> <Type>string</Type> </ErrorInfo> </GetCompanyWsdkUrlResult> </GetCompanyWsdkUrlResponse> </soap:Body> </soap:Envelope>
HTTP GET
The following is a sample HTTP GET request and response. The placeholders shown need to be replaced with actual values.
GET /wsdk/CorrigoService.asmx/GetCompanyWsdkUrl?CompanyName=string&Protocol=string HTTP/1.1 Host: am-ce915.corrigo.com
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <CommandResponse xmlns="http://corrigo.com/integration/"> <ErrorInfo> <Number>long</Number> <Description>string</Description> <Type>string</Type> </ErrorInfo> </CommandResponse>
HTTP POST
The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.
POST /wsdk/CorrigoService.asmx/GetCompanyWsdkUrl HTTP/1.1 Host: am-ce915.corrigo.com Content-Type: application/x-www-form-urlencoded Content-Length: length CompanyName=string&Protocol=string
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <CommandResponse xmlns="http://corrigo.com/integration/"> <ErrorInfo> <Number>long</Number> <Description>string</Description> <Type>string</Type> </ErrorInfo> </CommandResponse>