public GetDocumentForURLResponse GetDocumentForURL(GetDocumentForURLRequest request) { //TODO:load the documents from local folders Log.Info("GetDocumentForURL request..."); string fileName = @"TestData\SampleConfirm.docx"; if (!String.IsNullOrEmpty(request.FileName)) { fileName = @"TestData\" + request.FileName; } return(new GetDocumentForURLResponse { //ObjectStream = getFile("TestData\\SampleConfirm.docx") ObjectStream = getFile(fileName) }); }
public GetDocumentForURLResponse GetDocumentForURL(GetDocumentForURLRequest request) { //TODO:load the documents from local folders Log.Info("GetDocumentForURL request..."); string fileName = @"TestData\SampleConfirm.docx"; if (!String.IsNullOrEmpty(request.FileName)) fileName = @"TestData\" + request.FileName; return new GetDocumentForURLResponse { //ObjectStream = getFile("TestData\\SampleConfirm.docx") ObjectStream = getFile(fileName) }; }