Changeset 363 for trunk/examples

Show
Ignore:
Timestamp:
05/21/10 01:02:38 (2 years ago)
Author:
rodche
Message:

"Mavenized" are 6 modules: org.bridgedb, org.bridgedb.bio, org.bridgedb.webservice.bridgerest, org.bridgedb.webservice.biomart, org.bridgedb.webservice.cronos, org.bridgedb.webservice.picr, and examples; organisms.txt and datasources.txt - moved to org.bridgedb.bio/resources/org/bridgedb/bio (ant build.xml ajusted accordingly). Upgraded org.bridgedb.webservice.cronos with the new WSDL and code generation by maven plugin.

Location:
trunk
Files:
5 added
3 modified

Legend:

Unmodified
Added
Removed
  • trunk

    • Property svn:ignore
      •  

        old new  
        11pub 
         2 
         3.settings 
         4 
         5.classpath 
         6 
         7.project 
  • trunk/examples

    • Property svn:ignore set to
      target
  • trunk/examples/src/org/bridgedb/examples/CounterExampleWithoutBridgedb.java

    r268 r363  
    22 
    33import java.io.IOException; 
    4 import java.net.URL; 
    5 import java.util.HashSet; 
    6 import java.util.Set; 
    74 
    85import javax.xml.rpc.ServiceException; 
    96 
    107import org.bridgedb.webservice.cronos.CronosWS; 
    11 import org.bridgedb.webservice.cronos.CronosWSServiceLocator; 
    12 import org.json.JSONException; 
     8import org.bridgedb.webservice.cronos.CronosWSService; 
    139 
    14 import synergizer.SynergizerClient; 
     10//import org.json.JSONException; 
     11//import synergizer.SynergizerClient; 
    1512 
    1613/* 
     
    3734                // using the Cronos service directly 
    3835                // 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(); 
    4140                 
    4241                String organismCode = "hsa"; 
     
    5453        } 
    5554         
     55        /* 
    5656        public void mapSynergizer(String id) throws IOException, JSONException 
    5757        { 
     
    7171         } 
    7272        } 
     73        */ 
    7374         
    74         public static void main(String args[]) throws ServiceException, IOException, JSONException 
     75        public static void main(String args[]) throws Exception 
    7576        { 
    7677                CounterExampleWithoutBridgedb main = new CounterExampleWithoutBridgedb(); 
     
    7879                String id = "3643"; 
    7980                main.mapCronos(id); 
    80                 main.mapSynergizer(id); 
     81                //main.mapSynergizer(id); 
    8182        } 
    8283}