ws-scout-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tcunn...@apache.org
Subject svn commit: r745103 - /webservices/scout/trunk/scout/src/main/java/org/apache/ws/scout/registry/RegistryImpl.java
Date Tue, 17 Feb 2009 14:37:44 GMT
Author: tcunning
Date: Tue Feb 17 14:37:44 2009
New Revision: 745103

URL: http://svn.apache.org/viewvc?rev=745103&view=rev
Log:
JUDDI-71
Make sure we at least send an empty TModelBag as it is a required
element for find_binding.

Modified:
    webservices/scout/trunk/scout/src/main/java/org/apache/ws/scout/registry/RegistryImpl.java

Modified: webservices/scout/trunk/scout/src/main/java/org/apache/ws/scout/registry/RegistryImpl.java
URL: http://svn.apache.org/viewvc/webservices/scout/trunk/scout/src/main/java/org/apache/ws/scout/registry/RegistryImpl.java?rev=745103&r1=745102&r2=745103&view=diff
==============================================================================
--- webservices/scout/trunk/scout/src/main/java/org/apache/ws/scout/registry/RegistryImpl.java
(original)
+++ webservices/scout/trunk/scout/src/main/java/org/apache/ws/scout/registry/RegistryImpl.java
Tue Feb 17 14:37:44 2009
@@ -697,7 +697,11 @@
 
 		if (tModelBag != null) {
 			request.setTModelBag(tModelBag);
-		}
+		} else {
+			TModelBag tmb = TModelBag.Factory.newInstance();
+			tmb.setTModelKeyArray(new String[1]);
+			request.setTModelBag(tmb);
+ 		}
 
 		if (findQualifiers != null) {
 			request.setFindQualifiers(findQualifiers);
@@ -1032,7 +1036,7 @@
 		if (bindingArray != null) {
 			request.setBindingTemplateArray(bindingArray);
 		}
-
+		
         BindingDetail bd;
         XmlObject o = execute(doc, this.getPublishURI()).changeType(
                 BindingDetailDocument.type);



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


Mime
View raw message