aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenGridServices.GridServer/GridHttp.cs13
1 files changed, 10 insertions, 3 deletions
diff --git a/OpenGridServices.GridServer/GridHttp.cs b/OpenGridServices.GridServer/GridHttp.cs
index 0986061..4bc9ef0 100644
--- a/OpenGridServices.GridServer/GridHttp.cs
+++ b/OpenGridServices.GridServer/GridHttp.cs
@@ -33,6 +33,7 @@ using Nwc.XmlRpc;
33using System.Threading; 33using System.Threading;
34using System.Text.RegularExpressions; 34using System.Text.RegularExpressions;
35using System.Net; 35using System.Net;
36using System.Xml;
36using System.IO; 37using System.IO;
37using System.Collections; 38using System.Collections;
38using System.Collections.Generic; 39using System.Collections.Generic;
@@ -161,13 +162,19 @@ namespace OpenGridServices.GridServer
161 respstring+="</sim>"; 162 respstring+="</sim>";
162 break; 163 break;
163 case "POST": 164 case "POST":
165 XmlDocument doc = new XmlDocument();
166 doc.LoadXml(requestBody);
167 XmlNode authkeynode = doc.FirstChild;
168 if (authkeynode.Name != "authkey")
169 respstring = "<error>bad XML - expected authkey tag</error>";
170 XmlNode simnode = doc.ChildNodes[1];
171 if (simnode.Name != "sim")
172 respstring = "<error>bad XML - expected sim tag</error>";
173
164 break; 174 break;
165 } 175 }
166 } 176 }
167 break; 177 break;
168 case "highestuuid":
169
170 break;
171 } 178 }
172 return ""; 179 return "";
173 180