juddi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ks...@apache.org
Subject svn commit: r791044 - /webservices/juddi/branches/v3_trunk/uddi-client/src/test/java/org/apache/juddi/client/JUDDI_010_PublisherIntegrationTest.java
Date Sat, 04 Jul 2009 00:47:46 GMT
Author: kstam
Date: Sat Jul  4 00:47:45 2009
New Revision: 791044

URL: http://svn.apache.org/viewvc?rev=791044&view=rev
Log:
JUDDI-259 adding test

Modified:
    webservices/juddi/branches/v3_trunk/uddi-client/src/test/java/org/apache/juddi/client/JUDDI_010_PublisherIntegrationTest.java

Modified: webservices/juddi/branches/v3_trunk/uddi-client/src/test/java/org/apache/juddi/client/JUDDI_010_PublisherIntegrationTest.java
URL: http://svn.apache.org/viewvc/webservices/juddi/branches/v3_trunk/uddi-client/src/test/java/org/apache/juddi/client/JUDDI_010_PublisherIntegrationTest.java?rev=791044&r1=791043&r2=791044&view=diff
==============================================================================
--- webservices/juddi/branches/v3_trunk/uddi-client/src/test/java/org/apache/juddi/client/JUDDI_010_PublisherIntegrationTest.java
(original)
+++ webservices/juddi/branches/v3_trunk/uddi-client/src/test/java/org/apache/juddi/client/JUDDI_010_PublisherIntegrationTest.java
Sat Jul  4 00:47:45 2009
@@ -72,6 +72,11 @@
 	         if (transportClass!=null) {
 	        	 Transport transport = (Transport) transportClass.newInstance();
 	        	 security = transport.getUDDISecurityService();
+	        	 UDDISecurityPortType securityService = transport.getUDDISecurityService();
+	        	 GetAuthToken getAuthToken = new GetAuthToken();
+	        	 getAuthToken.setUserID("root");
+	        	 getAuthToken.setCred("");
+	        	 authInfo = securityService.getAuthToken(getAuthToken).getAuthInfo();
 	        	 publisher = transport.getJUDDIApiService();
 	         } else {
 	        	 Assert.fail();
@@ -250,6 +255,7 @@
 	
 	private boolean isExistPublisher(String publisherId) {
 		GetPublisherDetail gp = new GetPublisherDetail();
+		gp.setAuthInfo(authInfo);
 		gp.getPublisherId().add(publisherId);
 		try {
 			publisher.getPublisherDetail(gp);



---------------------------------------------------------------------
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