CSSWebProcess2
Click here for a complete list of operations.
subSubmitLeave
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 /CSSWebService1/CSSWebProcess2.asmx HTTP/1.1 Host: www.rainehornezaki.com.my Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://localhost/subSubmitLeave" <?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> <subSubmitLeave xmlns="http://localhost/"> <strServer>string</strServer> <strDatabase>string</strDatabase> <strRequestKey>string</strRequestKey> <strStartDate>string</strStartDate> <strEndDate>string</strEndDate> <strPintSkipItemid>string</strPintSkipItemid> <strHalfDay>string</strHalfDay> <strStaffName>string</strStaffName> <strEditMode>string</strEditMode> <strCompcode>string</strCompcode> <strDeptcode>string</strDeptcode> <strSavedDocno>string</strSavedDocno> <strStaffID>string</strStaffID> <strSavedTaskid>string</strSavedTaskid> <strLeaveType>string</strLeaveType> <strLeavedscp>string</strLeavedscp> <strRemarks>string</strRemarks> <strClinicname>string</strClinicname> <strMedicalcertno>string</strMedicalcertno> <strDatebegin>string</strDatebegin> <strDateend>string</strDateend> <strLeavedays>string</strLeavedays> <strTaskstage>string</strTaskstage> <strLoginUserCode>string</strLoginUserCode> <strExistLeaveItemid>string</strExistLeaveItemid> </subSubmitLeave> </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> <subSubmitLeaveResponse xmlns="http://localhost/"> <subSubmitLeaveResult>string</subSubmitLeaveResult> </subSubmitLeaveResponse> </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 /CSSWebService1/CSSWebProcess2.asmx HTTP/1.1 Host: www.rainehornezaki.com.my 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> <subSubmitLeave xmlns="http://localhost/"> <strServer>string</strServer> <strDatabase>string</strDatabase> <strRequestKey>string</strRequestKey> <strStartDate>string</strStartDate> <strEndDate>string</strEndDate> <strPintSkipItemid>string</strPintSkipItemid> <strHalfDay>string</strHalfDay> <strStaffName>string</strStaffName> <strEditMode>string</strEditMode> <strCompcode>string</strCompcode> <strDeptcode>string</strDeptcode> <strSavedDocno>string</strSavedDocno> <strStaffID>string</strStaffID> <strSavedTaskid>string</strSavedTaskid> <strLeaveType>string</strLeaveType> <strLeavedscp>string</strLeavedscp> <strRemarks>string</strRemarks> <strClinicname>string</strClinicname> <strMedicalcertno>string</strMedicalcertno> <strDatebegin>string</strDatebegin> <strDateend>string</strDateend> <strLeavedays>string</strLeavedays> <strTaskstage>string</strTaskstage> <strLoginUserCode>string</strLoginUserCode> <strExistLeaveItemid>string</strExistLeaveItemid> </subSubmitLeave> </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> <subSubmitLeaveResponse xmlns="http://localhost/"> <subSubmitLeaveResult>string</subSubmitLeaveResult> </subSubmitLeaveResponse> </soap12:Body> </soap12:Envelope>