Service1
Click here for a complete list of operations.
DecodeString
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 /CancomISWebservice.asmx HTTP/1.1 Host: idtechscan.cancomsa.co.za Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "https://idtechscan.cancomsa.co.za/DecodeString" <?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> <DecodeString xmlns="https://idtechscan.cancomsa.co.za/"> <barcode>string</barcode> <Key>string</Key> </DecodeString> </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> <DecodeStringResponse xmlns="https://idtechscan.cancomsa.co.za/"> <DecodeStringResult> <Card> <DateValidFrom>string</DateValidFrom> <DateValidUntil>string</DateValidUntil> <IssueNumber>string</IssueNumber> </Card> <Photo> <ImageData>base64Binary</ImageData> <IsTopDown>boolean</IsTopDown> </Photo> <DrivingLicense> <CertificateNumber>string</CertificateNumber> <CountryOfIssue>string</CountryOfIssue> </DrivingLicense> <IdentityDocument> <CountryOfIssue>string</CountryOfIssue> <Number>string</Number> <Type>string</Type> </IdentityDocument> <Person> <DateOfBirth>string</DateOfBirth> <DriverRestriction1>string</DriverRestriction1> <DriverRestriction2>string</DriverRestriction2> <Gender>string</Gender> <Initials>string</Initials> <PreferenceLanguage>string</PreferenceLanguage> <Surname>string</Surname> </Person> <ProfessionalDrivingPermit> <Category>string</Category> <DateValidUntil>string</DateValidUntil> </ProfessionalDrivingPermit> <VehicleClass1> <Code>string</Code> <FirstIssueDate>string</FirstIssueDate> <VehicleRestriction>string</VehicleRestriction> </VehicleClass1> <VehicleClass2> <Code>string</Code> <FirstIssueDate>string</FirstIssueDate> <VehicleRestriction>string</VehicleRestriction> </VehicleClass2> <VehicleClass3> <Code>string</Code> <FirstIssueDate>string</FirstIssueDate> <VehicleRestriction>string</VehicleRestriction> </VehicleClass3> <VehicleClass4> <Code>string</Code> <FirstIssueDate>string</FirstIssueDate> <VehicleRestriction>string</VehicleRestriction> </VehicleClass4> <AdditionalInfo> <CellNo>string</CellNo> <HomeNo>string</HomeNo> <PhysicalAddress1>string</PhysicalAddress1> <PhysicalAddress2>string</PhysicalAddress2> <PhysicalAddress3>string</PhysicalAddress3> <PhysicalAddress4>string</PhysicalAddress4> <PhysicalAddress5>string</PhysicalAddress5> <PostalAddress1>string</PostalAddress1> <PostalAddress2>string</PostalAddress2> <PostalAddress3>string</PostalAddress3> <PostalAddress4>string</PostalAddress4> <PostalAddress5>string</PostalAddress5> <Fullnames>string</Fullnames> </AdditionalInfo> </DecodeStringResult> </DecodeStringResponse> </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 /CancomISWebservice.asmx HTTP/1.1 Host: idtechscan.cancomsa.co.za 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> <DecodeString xmlns="https://idtechscan.cancomsa.co.za/"> <barcode>string</barcode> <Key>string</Key> </DecodeString> </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> <DecodeStringResponse xmlns="https://idtechscan.cancomsa.co.za/"> <DecodeStringResult> <Card> <DateValidFrom>string</DateValidFrom> <DateValidUntil>string</DateValidUntil> <IssueNumber>string</IssueNumber> </Card> <Photo> <ImageData>base64Binary</ImageData> <IsTopDown>boolean</IsTopDown> </Photo> <DrivingLicense> <CertificateNumber>string</CertificateNumber> <CountryOfIssue>string</CountryOfIssue> </DrivingLicense> <IdentityDocument> <CountryOfIssue>string</CountryOfIssue> <Number>string</Number> <Type>string</Type> </IdentityDocument> <Person> <DateOfBirth>string</DateOfBirth> <DriverRestriction1>string</DriverRestriction1> <DriverRestriction2>string</DriverRestriction2> <Gender>string</Gender> <Initials>string</Initials> <PreferenceLanguage>string</PreferenceLanguage> <Surname>string</Surname> </Person> <ProfessionalDrivingPermit> <Category>string</Category> <DateValidUntil>string</DateValidUntil> </ProfessionalDrivingPermit> <VehicleClass1> <Code>string</Code> <FirstIssueDate>string</FirstIssueDate> <VehicleRestriction>string</VehicleRestriction> </VehicleClass1> <VehicleClass2> <Code>string</Code> <FirstIssueDate>string</FirstIssueDate> <VehicleRestriction>string</VehicleRestriction> </VehicleClass2> <VehicleClass3> <Code>string</Code> <FirstIssueDate>string</FirstIssueDate> <VehicleRestriction>string</VehicleRestriction> </VehicleClass3> <VehicleClass4> <Code>string</Code> <FirstIssueDate>string</FirstIssueDate> <VehicleRestriction>string</VehicleRestriction> </VehicleClass4> <AdditionalInfo> <CellNo>string</CellNo> <HomeNo>string</HomeNo> <PhysicalAddress1>string</PhysicalAddress1> <PhysicalAddress2>string</PhysicalAddress2> <PhysicalAddress3>string</PhysicalAddress3> <PhysicalAddress4>string</PhysicalAddress4> <PhysicalAddress5>string</PhysicalAddress5> <PostalAddress1>string</PostalAddress1> <PostalAddress2>string</PostalAddress2> <PostalAddress3>string</PostalAddress3> <PostalAddress4>string</PostalAddress4> <PostalAddress5>string</PostalAddress5> <Fullnames>string</Fullnames> </AdditionalInfo> </DecodeStringResult> </DecodeStringResponse> </soap12:Body> </soap12:Envelope>