[MOBY-guts] biomoby commit

Eddie Kawas kawas at dev.open-bio.org
Thu Oct 19 21:25:25 UTC 2006


kawas
Thu Oct 19 17:25:25 EDT 2006
Update of /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/ui/graphical/servlet/lsid/authority
In directory dev.open-bio.org:/tmp/cvs-serv3257/Java/src/main/org/biomoby/client/ui/graphical/servlet/lsid/authority

Modified Files:
	MobyAuthority.java 
Log Message:
logic bug that doesnt include signatureURL in wsdl for metadata when resolving lsids
moby-live/Java/src/main/org/biomoby/client/ui/graphical/servlet/lsid/authority MobyAuthority.java,1.8,1.9
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/ui/graphical/servlet/lsid/authority/MobyAuthority.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/ui/graphical/servlet/lsid/authority/MobyAuthority.java	2006/10/11 01:54:50	1.8
+++ /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/ui/graphical/servlet/lsid/authority/MobyAuthority.java	2006/10/19 21:25:25	1.9
@@ -120,7 +120,7 @@
 							MobyService[] services = central.findService(service);
 							if (services.length == 1)
 								if (services[0].getSignatureURL() != null
-										&& services[0].getSignatureURL().trim()
+										&& !services[0].getSignatureURL().trim()
 												.equalsIgnoreCase("")) {
 									URL signatureURL = new URL(services[0].getSignatureURL());
 									wsdl.setMetadataLocation(new HTTPLocation(
@@ -132,6 +132,7 @@
 						}
 					}
 				} catch (Exception e) {
+					log.warn("Error setting the SignatureURL as a metadata location: "+ System.getProperty("line.separator") + e.getLocalizedMessage());
 				}
 
 			}




More information about the MOBY-guts mailing list