juddi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ks...@apache.org
Subject svn commit: r827764 - in /webservices/juddi/trunk: juddi-client/src/main/java/org/apache/juddi/v3/client/config/UDDIClerk.java juddi-core/src/main/java/org/apache/juddi/api/impl/UDDISubscriptionImpl.java
Date Tue, 20 Oct 2009 19:08:59 GMT
Author: kstam
Date: Tue Oct 20 19:08:59 2009
New Revision: 827764

URL: http://svn.apache.org/viewvc?rev=827764&view=rev
Log:
JUDDI-240 fixing typos

Modified:
    webservices/juddi/trunk/juddi-client/src/main/java/org/apache/juddi/v3/client/config/UDDIClerk.java
    webservices/juddi/trunk/juddi-core/src/main/java/org/apache/juddi/api/impl/UDDISubscriptionImpl.java

Modified: webservices/juddi/trunk/juddi-client/src/main/java/org/apache/juddi/v3/client/config/UDDIClerk.java
URL: http://svn.apache.org/viewvc/webservices/juddi/trunk/juddi-client/src/main/java/org/apache/juddi/v3/client/config/UDDIClerk.java?rev=827764&r1=827763&r2=827764&view=diff
==============================================================================
--- webservices/juddi/trunk/juddi-client/src/main/java/org/apache/juddi/v3/client/config/UDDIClerk.java
(original)
+++ webservices/juddi/trunk/juddi-client/src/main/java/org/apache/juddi/v3/client/config/UDDIClerk.java
Tue Oct 20 19:08:59 2009
@@ -203,7 +203,7 @@
 		NodeDetail nodeDetail = null;
 		try {
 			SaveNode saveNode = new SaveNode();
-			saveNode.setAuthInfo(node.getSecurityUrl());
+			saveNode.setAuthInfo(getAuthToken(node.getSecurityUrl()));
 			saveNode.getNode().add(node);
 			nodeDetail =getUDDINode().getTransport().getJUDDIApiService(node.getJuddiApiUrl()).saveNode(saveNode);
 		} catch (Exception e) {

Modified: webservices/juddi/trunk/juddi-core/src/main/java/org/apache/juddi/api/impl/UDDISubscriptionImpl.java
URL: http://svn.apache.org/viewvc/webservices/juddi/trunk/juddi-core/src/main/java/org/apache/juddi/api/impl/UDDISubscriptionImpl.java?rev=827764&r1=827763&r2=827764&view=diff
==============================================================================
--- webservices/juddi/trunk/juddi-core/src/main/java/org/apache/juddi/api/impl/UDDISubscriptionImpl.java
(original)
+++ webservices/juddi/trunk/juddi-core/src/main/java/org/apache/juddi/api/impl/UDDISubscriptionImpl.java
Tue Oct 20 19:08:59 2009
@@ -330,7 +330,7 @@
 	
 					ServiceList serviceList = InquiryHelper.getServiceListFromKeys(fs, findQualifiers, em,
currentMatchingKeys,
 																				   startPointDate, endPointDate, subscriptionStartIndex, modelSubscription.getMaxEntities());
-					if (serviceList.getServiceInfos().getServiceInfo().size()==0) {
+					if (serviceList.getServiceInfos()==null || serviceList.getServiceInfos().getServiceInfo().size()==0)
{
 						serviceList=null;
 					}
 					// Upon exiting above function, if more results are to be had, the subscriptionStartIndex
will contain the latest value (or null



---------------------------------------------------------------------
To unsubscribe, e-mail: juddi-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: juddi-cvs-help@ws.apache.org


Mime
View raw message