示例#1
0
        public GetConfirmationResponse getConfirmation(GetConfirmationRequest getConfirmationRequest)
        {
            try
            {
                Log.Info("GetDocument GetConfirmationRequest: " + (getConfirmationRequest == null ? "null" : getConfirmationRequest.ToString()));

                byte[] b = getFile("SampleConfirm.docx");

                var response = new GetConfirmationResponse(ObjectFormatInd.DOCX, true, b);

                Log.Info("GetDocument GetConfirmationResponse: " + (response == null ? "null" : response.ToString()));
                return response;
            }
            catch (Exception e)
            {
                Log.Error("Failed to process getConfirmation() service call", e);
                throw e;
            }
        }
示例#2
0
        public GetConfirmationResponse getConfirmation(GetConfirmationRequest getConfirmationRequest)
        {
            try
            {
                Log.Info("GetDocument GetConfirmationRequest: " + (getConfirmationRequest == null ? "null" : getConfirmationRequest.ToString()));

                byte[] b = getFile("SampleConfirm.docx");

                var response = new GetConfirmationResponse(ObjectFormatInd.DOCX, true, b);

                Log.Info("GetDocument GetConfirmationResponse: " + (response == null ? "null" : response.ToString()));
                return(response);
            }
            catch (Exception e)
            {
                Log.Error("Failed to process getConfirmation() service call", e);
                throw e;
            }
        }