throws ServletException, IOException {\r
\r
StringBuffer jabawspath = req.getRequestURL();\r
- jabawspath = jabawspath.delete(jabawspath.lastIndexOf("/"),\r
- jabawspath.length());\r
+ jabawspath = jabawspath.delete(jabawspath.lastIndexOf("/"), jabawspath.length());\r
String serverPath = jabawspath.toString();\r
\r
List<ServiceTestResult> testResults = new ArrayList<ServiceTestResult>();\r
result.failed = tester.checkService(service);\r
} catch (Exception e) {\r
log.info(e, e.getCause());\r
- writer.println("Fails to connect to a web service: " + service\r
- + " With " + e.getLocalizedMessage() + "\nDetails: ");\r
+ String mess = "Fails to connect to the web service: " + service + ". Reason: ";\r
+ writer.println(mess + e.getLocalizedMessage() + "\nDetails: ");\r
e.printStackTrace(writer);\r
} finally {\r
writer.close();\r
testResults.add(result);\r
}\r
req.setAttribute("results", testResults);\r
- RequestDispatcher rd = req\r
- .getRequestDispatcher("statpages/ServicesStatus.jsp");\r
+ RequestDispatcher rd = req.getRequestDispatcher("statpages/ServicesStatus.jsp");\r
rd.forward(req, resp);\r
}\r
\r
package compbio.ws.server;\r
\r
import java.io.File;\r
-import java.util.Arrays;\r
import java.util.List;\r
\r
import javax.jws.WebService;\r
import compbio.metadata.WrongParameterException;\r
import compbio.runner.predictors.Jpred;\r
\r
-@WebService(endpointInterface = "compbio.data.msa.SequenceAnnotation", targetNamespace = JABAService.V2_SERVICE_NAMESPACE, serviceName = "JpredWS")\r
+@WebService(endpointInterface = "compbio.data.msa.SequenceAnnotation", targetNamespace = JABAService.V3_SERVICE_NAMESPACE, serviceName = "JpredWS")\r
public class JpredWS extends SequenceAnnotationService<Jpred>\r
implements SequenceAnnotation<Jpred> {\r
\r
<xs:element name="getLastTestedResponse" type="tns:getLastTestedResponse"/>
+ <xs:element name="getNonoperatedServices" type="tns:getNonoperatedServices"/>
+
+ <xs:element name="getNonoperatedServicesResponse" type="tns:getNonoperatedServicesResponse"/>
+
<xs:element name="getServiceCategories" type="tns:getServiceCategories"/>
<xs:element name="getServiceCategoriesResponse" type="tns:getServiceCategoriesResponse"/>
</xs:sequence>
</xs:complexType>
+ <xs:complexType name="getNonoperatedServices">
+ <xs:sequence/>
+ </xs:complexType>
+
+ <xs:complexType name="getNonoperatedServicesResponse">
+ <xs:sequence>
+ <xs:element name="return" type="tns:services" minOccurs="0" maxOccurs="unbounded"/>
+ </xs:sequence>
+ </xs:complexType>
+
<xs:complexType name="getServiceCategories">
<xs:sequence/>
</xs:complexType>