示例#1
0
    public static string[] CallServiceCreateDoc(PisMessServiceReference.TemplateDocumentTypeSerbianPost documentType, PisMessServiceReference.Parameter[] parameters)
    {
        System.Net.ServicePointManager.DefaultConnectionLimit = 16;

        PisMessServiceReference.PisMessServiceClient pisMess = new PisMessServiceReference.PisMessServiceClient();
        log.Info("Start calling pisMess.CreateDocument for: " + documentType.ToString() + " " + DateTime.Now.ToString("MM/dd/yyyy hh:mm:ss.fff tt"));
        return(pisMess.CreateDocument(documentType, parameters));
    }
示例#2
0
    public static string[] CallServiceCreateDocLegalEntity(List <PisMessServiceReference.Parameter> documentParameters, List <PisMessServiceReference.CertificatesAuthorizedUser> certificatesAuthorizedUsers)
    {
        System.Net.ServicePointManager.DefaultConnectionLimit = 16;

        PisMessServiceReference.PisMessServiceClient pisMess = new PisMessServiceReference.PisMessServiceClient();
        log.Info("Start calling pisMess.CreateDocumentLegalEntityContractAttachment: " + " " + DateTime.Now.ToString("MM/dd/yyyy hh:mm:ss.fff tt"));
        return(pisMess.CreateDocumentLegalEntityContractAttachment(documentParameters.ToArray(), certificatesAuthorizedUsers.ToArray()));
    }
示例#3
0
 public static void CallService()
 {
     PisMessServiceReference.PisMessServiceClient client = new PisMessServiceReference.PisMessServiceClient();
 }