Skip to content
Snippets Groups Projects
Commit 5e85d785 authored by Robert Butora's avatar Robert Butora
Browse files

fixes /capabilities info

parent 9f5cb199
No related branches found
No related tags found
No related merge requests found
......@@ -99,22 +99,14 @@ public class VosiServlet
+ " </interface>"
+ " </capability>"
+ " <capability standardID=\"ivo://ivoa.net/std/SODA#sync-1.0\">"
+ " <interface xsi:type=\"vod:ParamHTTP\" role=\"std\" version=\"1.0\">"
+ " <accessURL use=\"full\">"
+ " <capability standardID=\"ivo://ivoa.net/std/SIA#query-2.0\">"
+ " <interface xsi:type=\"vod:ParamHTTP\" role=\"std\" version=\"2.0\">"
+ " <accessURL>"
+ accessURL + "/" + funcName
+ " </accessURL>"
+ " </interface>"
+ " </capability>"
+ " <capability standardID=\"ivo://ivoa.net/std/SODA#async-1.0\">"
+ " <interface xsi:type=\"vod:ParamHTTP\" role=\"std\" version=\"1.0\">"
+ " <accessURL use=\"full\">"
+ accessURL + "/" + funcName + "_uws/soda_cuts"
+ " </accessURL>"
+ " </interface>"
+ " </capability>"
+ "</vosi:capabilities>";
}
}
......@@ -155,7 +147,7 @@ public class VosiServlet
String fullURL = request.getRequestURL().toString();
String baseURL = fullURL.substring(0,requestURL.lastIndexOf("/"));
SetCapsStr(baseURL, "soda");
SetCapsStr(baseURL, "query");
writer.println(capsStr);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment