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:
11 added
2 removed
4 modified

Legend:

Unmodified
Added
Removed
  • trunk

    • Property svn:ignore
      •  

        old new  
        11pub 
         2 
         3.settings 
         4 
         5.classpath 
         6 
         7.project 
  • trunk/org.bridgedb.webservice.cronos

    • Property svn:ignore set to
      target
  • trunk/org.bridgedb.webservice.cronos/WSREADME.txt

    r308 r363  
    66----------------------------------- 
    77 
    8 http://mips.helmholtz-muenchen.de/CronosWSService/CronosWS?WSDL 
    9  
     8http://mips.helmholtz-muenchen.de/genre/proj/cronos/CronosWSService.wsdl 
     9[http://mips.helmholtz-muenchen.de/CronosWSService/CronosWS?WSDL - doesn't not work for xjc] 
    1010 
    1111Supported Methods: 
  • trunk/org.bridgedb.webservice.cronos/src/org/bridgedb/webservice/cronos/IDMapperCronos.java

    r308 r363  
    11package org.bridgedb.webservice.cronos; 
    22 
    3 import java.rmi.RemoteException; 
    43import java.util.Arrays; 
    54import java.util.Collection; 
     
    87import java.util.Map; 
    98import java.util.Set; 
    10  
    11 import javax.xml.rpc.ServiceException; 
    129 
    1310import org.bridgedb.bio.BioDataSource; 
     
    128125                {       // Call Web Service Operation 
    129126 
    130                         CronosWSServiceLocator locator = new CronosWSServiceLocator(); 
    131                         port = locator.getCronosWSPort(); 
    132                         info.put("WSPortAddress", locator.getCronosWSPortAddress()); 
    133                         info.put("WSDDServiceName", locator.getCronosWSPortWSDDServiceName()); 
    134                         info.put("WSDLDocumentLocation", "" + locator.getWSDLDocumentLocation()); 
    135                 } 
    136                 catch (ServiceException ex) 
     127                        //CronosWSServiceLocator locator = new CronosWSServiceLocator(); 
     128                        CronosWSService service = new CronosWSService(); 
     129                        port = service.getCronosWSPort(); //locator.getCronosWSPort(); 
     130                        //info.put("WSPortAddress", locator.getCronosWSPortAddress()); 
     131                        //info.put("WSDDServiceName", locator.getCronosWSPortWSDDServiceName()); 
     132                        //info.put("WSDLDocumentLocation", "" + locator.getWSDLDocumentLocation()); 
     133                        info.put("WSPortAddress", service.WSDL_LOCATION.toString()); 
     134                        info.put("WSDDServiceName", service.getServiceName().toString()); 
     135                        info.put("WSDLDocumentLocation", service.WSDL_LOCATION.toString()); 
     136                } 
     137                catch (Exception ex) 
    137138                { 
    138139                        throw new IDMapperException (ex); 
     
    215216                                } 
    216217                        } 
    217                 } catch (RemoteException e) { 
     218                } catch (Exception e) { 
    218219                        throw new IDMapperException(e); 
    219220                }