JAL-3070 core service descriptors for JABAWS services abstracted to jalview.ws.api...
[jalview.git] / src / jalview / ws / rest / RestServiceDescription.java
index 285b795..a83c005 100644 (file)
@@ -67,7 +67,7 @@ public class RestServiceDescription
           boolean vseparable, char gapCharacter)
   {
     super();
-    this.details = new UIinfo(action, name, description);
+    this.details = new UIinfo(action, action, name, description);
     this.postUrl = postUrl == null ? "" : postUrl;
     this.urlSuffix = urlSuffix == null ? "" : urlSuffix;
     if (inputParams != null)
@@ -521,7 +521,7 @@ public class RestServiceDescription
     {
       p++;
     }
-    details = new UIinfo(list[p + 1], list[p], list[p + 2]);
+    details = new UIinfo(list[p + 1], list[p + 1], list[p], list[p + 2]);
     invalid |= !configureFromServiceInputProperties(list[p + 3], warnings);
     if (list.length - p > 5 && list[p + 5] != null
             && list[p + 5].trim().length() > 5)