Webservices
CancelInsuranceContinuityCertificate
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 /v3/webservices.asmx HTTP/1.1 Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "https://www.shafafiya.org/v2/CancelInsuranceContinuityCertificate" <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:v2="https://www.shafafiya.org/v2/"> <soapenv:Header/> <soapenv:Body> <v2:CancelInsuranceContinuityCertificate> <v2:login>string</v2:login> <v2:pwd>string</v2:pwd> <v2:SenderID>string</v2:SenderID> <v2:ReferenceNumber>string</v2:ReferenceNumber> </v2:CancelInsuranceContinuityCertificate> </soapenv:Body> </soapenv:Envelope>
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:v2="https://www.shafafiya.org/v2/"> <soapenv:Header/> <soapenv:Body> <v2:CancelInsuranceContinuityCertificateResponse> <v2:CancelInsuranceContinuityCertificateResult>int</v2:CancelInsuranceContinuityCertificateResult> <v2:ResultMessage>string</v2:ResultMessage> </v2:CancelInsuranceContinuityCertificateResponse> </soapenv:Body> </soapenv: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 /v3/webservices.asmx HTTP/1.1 Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:v2="https://www.shafafiya.org/v2/"> <soap:Header/> <soap:Body> <v2:CancelInsuranceContinuityCertificate> <v2:login>string</v2:login> <v2:pwd>string</v2:pwd> <v2:SenderID>string</v2:SenderID> <v2:ReferenceNumber>string</v2:ReferenceNumber> </v2:CancelInsuranceContinuityCertificate> </soap:Body> </soap:Envelope>
HTTP/1.1 200 OK Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:v2="https://www.shafafiya.org/v2/"> <soap:Header/> <soap:Body> <v2:CancelInsuranceContinuityCertificateResponse> <v2:CancelInsuranceContinuityCertificateResult>int</v2:CancelInsuranceContinuityCertificateResult> <v2:ResultMessage>string</v2:ResultMessage> </v2:CancelInsuranceContinuityCertificateResponse> </soap:Body> </soap:Envelope>