Exemplo n.º 1
0
        public GetDealSheetResponse getDealSheet(GetDealSheetRequest getDealSheetRequest)
        {
            try
            {
                Log.Info("GetDocument GetDealSheetRequest: " + (getDealSheetRequest == null ? "null" : getDealSheetRequest.ToString()));

                byte[] b = getFile("SampleDealsheet.html");

                var response = new GetDealSheetResponse(ObjectFormatInd.HTML, b );

                Log.Info("GetDocument GetDealSheetResponse: " + (response == null ? "null" : response.ToString()));
                return response;
            }
            catch (Exception e)
            {
                Log.Error("Failed to process getDealSheet() service call", e);
                throw e;
            }
        }
Exemplo n.º 2
0
        public GetDealSheetResponse getDealSheet(GetDealSheetRequest getDealSheetRequest)
        {
            try
            {
                Log.Info("GetDocument GetDealSheetRequest: " + (getDealSheetRequest == null ? "null" : getDealSheetRequest.ToString()));

                byte[] b = getFile("SampleDealsheet.html");

                var response = new GetDealSheetResponse(ObjectFormatInd.HTML, b);

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