Changeset 363 for trunk/org.bridgedb.webservice.cronos/src/org/bridgedb/webservice/cronos/IDMapperCronos.java
- Timestamp:
- 05/21/10 01:02:38 (2 years ago)
- Location:
- trunk
- Files:
-
- 3 modified
-
. (modified) (1 prop)
-
org.bridgedb.webservice.cronos (modified) (1 prop)
-
org.bridgedb.webservice.cronos/src/org/bridgedb/webservice/cronos/IDMapperCronos.java (modified) (4 diffs)
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/org.bridgedb.webservice.cronos
-
Property
svn:ignore set
to
target
-
Property
svn:ignore set
to
-
trunk/org.bridgedb.webservice.cronos/src/org/bridgedb/webservice/cronos/IDMapperCronos.java
r308 r363 1 1 package org.bridgedb.webservice.cronos; 2 2 3 import java.rmi.RemoteException;4 3 import java.util.Arrays; 5 4 import java.util.Collection; … … 8 7 import java.util.Map; 9 8 import java.util.Set; 10 11 import javax.xml.rpc.ServiceException;12 9 13 10 import org.bridgedb.bio.BioDataSource; … … 128 125 { // Call Web Service Operation 129 126 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) 137 138 { 138 139 throw new IDMapperException (ex); … … 215 216 } 216 217 } 217 } catch ( RemoteException e) {218 } catch (Exception e) { 218 219 throw new IDMapperException(e); 219 220 }
