Changeset 363 for trunk/examples
- Timestamp:
- 05/21/10 01:02:38 (2 years ago)
- Location:
- trunk
- Files:
-
- 5 added
- 3 modified
-
. (modified) (1 prop)
-
examples (modified) (1 prop)
-
examples/pom.xml (added)
-
examples/resources (added)
-
examples/src/org/bridgedb/examples/ChebiPubchemExample.java (added)
-
examples/src/org/bridgedb/examples/CounterExampleWithoutBridgedb.java (modified) (5 diffs)
-
examples/src/org/bridgedb/examples/PicrUniprotExample.java (added)
-
examples/test (added)
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:ignore
-
old new 1 1 pub 2 3 .settings 4 5 .classpath 6 7 .project
-
- Property svn:ignore
-
trunk/examples
-
Property
svn:ignore set
to
target
-
Property
svn:ignore set
to
-
trunk/examples/src/org/bridgedb/examples/CounterExampleWithoutBridgedb.java
r268 r363 2 2 3 3 import java.io.IOException; 4 import java.net.URL;5 import java.util.HashSet;6 import java.util.Set;7 4 8 5 import javax.xml.rpc.ServiceException; 9 6 10 7 import org.bridgedb.webservice.cronos.CronosWS; 11 import org.bridgedb.webservice.cronos.CronosWSServiceLocator; 12 import org.json.JSONException; 8 import org.bridgedb.webservice.cronos.CronosWSService; 13 9 14 import synergizer.SynergizerClient; 10 //import org.json.JSONException; 11 //import synergizer.SynergizerClient; 15 12 16 13 /* … … 37 34 // using the Cronos service directly 38 35 // Call Web Service Operation 39 CronosWSServiceLocator locator = new CronosWSServiceLocator(); 40 CronosWS port = locator.getCronosWSPort(); 36 //CronosWSServiceLocator locator = new CronosWSServiceLocator(); 37 //CronosWS port = locator.getCronosWSPort(); 38 CronosWSService service = new CronosWSService(); 39 CronosWS port = service.getCronosWSPort(); 41 40 42 41 String organismCode = "hsa"; … … 54 53 } 55 54 55 /* 56 56 public void mapSynergizer(String id) throws IOException, JSONException 57 57 { … … 71 71 } 72 72 } 73 */ 73 74 74 public static void main(String args[]) throws ServiceException, IOException, JSONException75 public static void main(String args[]) throws Exception 75 76 { 76 77 CounterExampleWithoutBridgedb main = new CounterExampleWithoutBridgedb(); … … 78 79 String id = "3643"; 79 80 main.mapCronos(id); 80 main.mapSynergizer(id);81 //main.mapSynergizer(id); 81 82 } 82 83 }
