juddi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ks...@apache.org
Subject svn commit: r1140944 - /juddi/scout/trunk/src/main/java/org/apache/ws/scout/registry/RegistryV3Impl.java
Date Wed, 29 Jun 2011 02:05:41 GMT
Author: kstam
Date: Wed Jun 29 02:05:41 2011
New Revision: 1140944

URL: http://svn.apache.org/viewvc?rev=1140944&view=rev
Log:
SCOUT-118, setting InfoSelection to 'All', this is a required element

Modified:
    juddi/scout/trunk/src/main/java/org/apache/ws/scout/registry/RegistryV3Impl.java

Modified: juddi/scout/trunk/src/main/java/org/apache/ws/scout/registry/RegistryV3Impl.java
URL: http://svn.apache.org/viewvc/juddi/scout/trunk/src/main/java/org/apache/ws/scout/registry/RegistryV3Impl.java?rev=1140944&r1=1140943&r2=1140944&view=diff
==============================================================================
--- juddi/scout/trunk/src/main/java/org/apache/ws/scout/registry/RegistryV3Impl.java (original)
+++ juddi/scout/trunk/src/main/java/org/apache/ws/scout/registry/RegistryV3Impl.java Wed Jun
29 02:05:41 2011
@@ -72,6 +72,7 @@ import org.uddi.api_v3.GetRegisteredInfo
 import org.uddi.api_v3.GetServiceDetail;
 import org.uddi.api_v3.GetTModelDetail;
 import org.uddi.api_v3.IdentifierBag;
+import org.uddi.api_v3.InfoSelection;
 import org.uddi.api_v3.Name;
 import org.uddi.api_v3.ObjectFactory;
 import org.uddi.api_v3.PublisherAssertion;
@@ -290,7 +291,11 @@ public class RegistryV3Impl implements I
 	    //request.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns", this.getUddiNamespace());
 	    // A SOAP request is made and a SOAP response
 	    // is returned.
-
+	    if (log.isDebugEnabled()) {
+	    	String xmlIn = XMLUtils.convertNodeToXMLString(request);
+	    	log.debug("Request send to UDDI Registry: " + xmlIn);
+	    }
+	    
 	    Element response;
 	    try {
 	    	response = transport.send(request, endPointURI);
@@ -971,6 +976,8 @@ public class RegistryV3Impl implements I
 		if (authInfo != null) {
 			request.setAuthInfo(authInfo);
 		}
+		
+		request.setInfoSelection(InfoSelection.ALL);
 
         RegisteredInfo ri;
         JAXBElement<?> o = execute(this.objectFactory.createGetRegisteredInfo(request),




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


Mime
View raw message