コード例 #1
0
ファイル: service-glue.cs プロジェクト: lulzzz/openpetra
        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));
        }
コード例 #2
0
ファイル: service-glue.cs プロジェクト: lulzzz/openpetra
 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");
     }
 }
コード例 #3
0
ファイル: service-glue.cs プロジェクト: lulzzz/openpetra
 public string LongRunningJob()
 {
     return(TMyServiceWebConnector.LongRunningJob());
 }
コード例 #4
0
ファイル: service-glue.cs プロジェクト: lulzzz/openpetra
 public string HelloWorld(string msg)
 {
     return(TMyServiceWebConnector.HelloWorld(msg));
 }