- Call call;\r
- String format = "default";\r
- String style = "raw";\r
-\r
- public EBIFetchClient()\r
- {\r
- try{\r
- call = (Call)new Service().createCall();\r
- call.setTargetEndpointAddress(new java.net.URL(\r
- "http://www.ebi.ac.uk/ws/services/Dbfetch"));\r
- }catch(Exception ex){}\r
- }\r
-\r
-\r
- public String [] getSupportedDBs()\r
- {\r
- try{\r
-\r
- call.setOperationName(new QName("urn:Dbfetch", "getSupportedDBs"));\r
- call.setReturnType(XMLType.SOAP_ARRAY);\r
- return (String[]) call.invoke(new Object[]{});\r
-\r
- }catch(Exception ex){return null;}\r
- }\r
-\r
- public String [] getSupportedFormats()\r
- {\r
- try{\r
- call.setOperationName(new QName("urn:Dbfetch", "getSupportedFormats"));\r
- call.setReturnType(XMLType.SOAP_ARRAY);\r
- return (String[]) call.invoke(new Object[] {});\r
-\r
- }catch(Exception ex){ return null; }\r
- }\r
-\r
- public String [] getSupportedStyles()\r
- {\r
- try{\r
- call.setOperationName(new QName("urn:Dbfetch", "getSupportedStyles"));\r
- call.setReturnType(XMLType.SOAP_ARRAY);\r
- return (String[]) call.invoke(new Object[] {});\r
-\r
- }catch(Exception ex){return null;}\r
+ Call call;\r
+ String format = "default";\r
+ String style = "raw";\r
+\r
+ /**\r
+ * Creates a new EBIFetchClient object.\r
+ */\r
+ public EBIFetchClient()\r
+ {\r
+ try\r
+ {\r
+ call = (Call) new Service().createCall();\r
+ call.setTargetEndpointAddress(new java.net.URL(\r
+ "http://www.ebi.ac.uk/ws/services/Dbfetch"));\r
+ }\r
+ catch (Exception ex)\r
+ {\r
+ }\r