Ejemplo n.º 1
0
        public string TestDateTime(string date)
        {
            DateTime outDateTomorrow;

            DateTime result = TMyServiceWebConnector.TestDateTime((DateTime)THttpBinarySerializer.DeserializeObject(date,
                                                                                                                    "binary"), out outDateTomorrow);

            return(THttpBinarySerializer.SerializeObjectWithType(outDateTomorrow) + "," + THttpBinarySerializer.SerializeObjectWithType(result));
        }
Ejemplo n.º 2
0
 public string TMySubNamespace_HelloSubWorld(System.String msg)
 {
     // TModuleAccessManager.CheckUserPermissionsForMethod();
     try
     {
         TLogging.Log(msg);
         return(THttpBinarySerializer.SerializeObjectWithType(TMyServiceWebConnector.HelloSubWorld()));
     }
     catch (Exception e)
     {
         TLogging.Log(e.ToString());
         throw new Exception("Please check server log file");
     }
 }
Ejemplo n.º 3
0
 public string LongRunningJob()
 {
     return(TMyServiceWebConnector.LongRunningJob());
 }
Ejemplo n.º 4
0
 public string HelloWorld(string msg)
 {
     return(TMyServiceWebConnector.HelloWorld(msg));
 }