ws-scout-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ge...@apache.org
Subject svn commit: r153275 - webservices/scout/trunk/modules/scout/src/java/org/apache/ws/scout/util/ScoutUddiJaxrHelper.java
Date Thu, 10 Feb 2005 17:07:45 GMT
Author: geirm
Date: Thu Feb 10 09:07:43 2005
New Revision: 153275

URL: http://svn.apache.org/viewcvs?view=rev&rev=153275
Log:
For the Service, we want to use the service key rather
than the business key, as the business key is the same
for all services in an organization.  

Modified:
    webservices/scout/trunk/modules/scout/src/java/org/apache/ws/scout/util/ScoutUddiJaxrHelper.java

Modified: webservices/scout/trunk/modules/scout/src/java/org/apache/ws/scout/util/ScoutUddiJaxrHelper.java
URL: http://svn.apache.org/viewcvs/webservices/scout/trunk/modules/scout/src/java/org/apache/ws/scout/util/ScoutUddiJaxrHelper.java?view=diff&r1=153274&r2=153275
==============================================================================
--- webservices/scout/trunk/modules/scout/src/java/org/apache/ws/scout/util/ScoutUddiJaxrHelper.java
(original)
+++ webservices/scout/trunk/modules/scout/src/java/org/apache/ws/scout/util/ScoutUddiJaxrHelper.java
Thu Feb 10 09:07:43 2005
@@ -110,6 +110,7 @@
             throws JAXRException
     {
         Vector bz = bizdetail.getBusinessEntityVector();
+
         BusinessEntity entity = (BusinessEntity) bz.elementAt(0);
         Vector namevect = entity.getNameVector();
         Name n = (Name)namevect.elementAt(0);
@@ -170,7 +171,9 @@
             throws JAXRException
     {
         Service serve = new ServiceImpl(lcm);
-        String keystr = bs.getBusinessKey();
+
+        String keystr = bs.getServiceKey();
+
         if(keystr != null ) serve.setKey(lcm.createKey(keystr));
         Vector namevect = bs.getNameVector();
         Name n = (Name)namevect.elementAt(0);



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