Exemplo n.º 1
0
        public GetDocumentSendToResponse getDocumentSendTo(GetDocumentSendToRequest getDocumentSendToRequest)
        {
            try
            {
                Log.Info("Counterparty GetDocumentSendToRequest: " + (getDocumentSendToRequest == null ? "null" : getDocumentSendToRequest.ToString()));
                var sendTos = new SendTo[] { new SendTo("*****@*****.**") };

                var response = new GetDocumentSendToResponse(sendTos);
                Log.Info("Counterparty GetDocumentSendToResponse: " + (response == null ? "null" : response.ToString()));
                return response;
            }
            catch (Exception e)
            {
                Log.Error("Failed to process getDocumentSendTo() service call", e);
                throw e;
            }
        }
Exemplo n.º 2
0
        public GetDocumentSendToResponse getDocumentSendTo(GetDocumentSendToRequest getDocumentSendToRequest)
        {
            try
            {
                Log.Info("Counterparty GetDocumentSendToRequest: " + (getDocumentSendToRequest == null ? "null" : getDocumentSendToRequest.ToString()));
                var sendTos = new SendTo[] { new SendTo("*****@*****.**") };

                var response = new GetDocumentSendToResponse(sendTos);
                Log.Info("Counterparty GetDocumentSendToResponse: " + (response == null ? "null" : response.ToString()));
                return(response);
            }
            catch (Exception e)
            {
                Log.Error("Failed to process getDocumentSendTo() service call", e);
                throw e;
            }
        }
 public GetDocumentSendToResponse(SendTo[] sendTos)
 {
     this.sendTos = sendTos;
 }