示例#1
0
 public System.Threading.Tasks.Task <WebServiceClient.ValidationServiceReference.UploadDocumentResponse> UploadDocumentAsync(byte[] data, string fileName)
 {
     WebServiceClient.ValidationServiceReference.UploadDocumentRequest inValue = new WebServiceClient.ValidationServiceReference.UploadDocumentRequest();
     inValue.Body          = new WebServiceClient.ValidationServiceReference.UploadDocumentRequestBody();
     inValue.Body.data     = data;
     inValue.Body.fileName = fileName;
     return(((WebServiceClient.ValidationServiceReference.DocumentValidationWebServiceSoap)(this)).UploadDocumentAsync(inValue));
 }
示例#2
0
 public string UploadDocument(byte[] data, string fileName)
 {
     WebServiceClient.ValidationServiceReference.UploadDocumentRequest inValue = new WebServiceClient.ValidationServiceReference.UploadDocumentRequest();
     inValue.Body          = new WebServiceClient.ValidationServiceReference.UploadDocumentRequestBody();
     inValue.Body.data     = data;
     inValue.Body.fileName = fileName;
     WebServiceClient.ValidationServiceReference.UploadDocumentResponse retVal = ((WebServiceClient.ValidationServiceReference.DocumentValidationWebServiceSoap)(this)).UploadDocument(inValue);
     return(retVal.Body.UploadDocumentResult);
 }
示例#3
0
 System.Threading.Tasks.Task <WebServiceClient.ValidationServiceReference.UploadDocumentResponse> WebServiceClient.ValidationServiceReference.DocumentValidationWebServiceSoap.UploadDocumentAsync(WebServiceClient.ValidationServiceReference.UploadDocumentRequest request)
 {
     return(base.Channel.UploadDocumentAsync(request));
 }
示例#4
0
 WebServiceClient.ValidationServiceReference.UploadDocumentResponse WebServiceClient.ValidationServiceReference.DocumentValidationWebServiceSoap.UploadDocument(WebServiceClient.ValidationServiceReference.UploadDocumentRequest request)
 {
     return(base.Channel.UploadDocument(request));
 }