portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tay...@apache.org
Subject cvs commit: jakarta-jetspeed/src/java/org/apache/jetspeed/webservices/util UDDIAccessBean.java
Date Sun, 11 Nov 2001 19:52:41 GMT
taylor      01/11/11 11:52:41

  Modified:    src/java/org/apache/jetspeed/webservices/util
                        UDDIAccessBean.java
  Log:
  updated UDDIAccessBean to use latest packaging in UDDI4j
  
  Revision  Changes    Path
  1.2       +12 -11    jakarta-jetspeed/src/java/org/apache/jetspeed/webservices/util/UDDIAccessBean.java
  
  Index: UDDIAccessBean.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed/src/java/org/apache/jetspeed/webservices/util/UDDIAccessBean.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- UDDIAccessBean.java	2001/10/29 08:53:51	1.1
  +++ UDDIAccessBean.java	2001/11/11 19:52:41	1.2
  @@ -9,9 +9,10 @@
   import java.io.Serializable;
   import java.beans.*;
   // import uddi packages
  -import com.ibm.uddi.UDDIException;
  -import com.ibm.uddi.client.UDDIProxy;
  -import com.ibm.uddi.response.*;
  +import org.uddi4j.UDDIException;
  +import org.uddi4j.transport.TransportException;
  +import org.uddi4j.client.UDDIProxy;
  +import org.uddi4j.response.*;
   // import soap packages
   import org.apache.soap.SOAPException;
   // import logging framework
  @@ -81,7 +82,7 @@
               if (loggingEnabled == true) {
                   java.util.ListIterator iterator = businessList.listIterator();
                   while (iterator.hasNext() == true) {
  -                    com.ibm.uddi.response.BusinessInfo business = (com.ibm.uddi.response.BusinessInfo)iterator.next();
  +                    org.uddi4j.response.BusinessInfo business = (org.uddi4j.response.BusinessInfo)iterator.next();
                       log.debug("debug", business.getDefaultDescriptionString());
                   }
               }
  @@ -98,7 +99,7 @@
                   log.error("error", exception.getMessage(), exception);
               }
           }
  -        catch (SOAPException exception) {
  +        catch (TransportException exception) {
               exception.printStackTrace();
               if (loggingEnabled == true) {
                   log.error("error", exception.getMessage(), exception);
  @@ -142,12 +143,12 @@
                   log.error("error", exception.getMessage(), exception);
               } 
          }
  -       catch (SOAPException exception) {
  +        catch (TransportException exception) {
               exception.printStackTrace();
               if (loggingEnabled == true) {
                   log.error("error", exception.getMessage(), exception);
               }
  -       }
  +        }
          // return result
          return businessKey;
      }
  @@ -164,7 +165,7 @@
               if (loggingEnabled == true) {
                   java.util.ListIterator iterator = serviceList.listIterator();
                   while (iterator.hasNext() == true) {
  -                    com.ibm.uddi.response.ServiceInfo service = (com.ibm.uddi.response.ServiceInfo)iterator.next();
  +                    org.uddi4j.response.ServiceInfo service = (org.uddi4j.response.ServiceInfo)iterator.next();
                       log.debug("debug", service.getNameString());
                   }
               }
  @@ -181,7 +182,7 @@
                   log.error("error", exception.getMessage(), exception);
               }
           }
  -        catch (SOAPException exception) {
  +        catch (TransportException exception) {
               exception.printStackTrace();
               if (loggingEnabled == true) {
                   log.error("error", exception.getMessage(), exception);
  @@ -225,12 +226,12 @@
                   log.error("error", exception.getMessage(), exception);
               }
          }
  -       catch (SOAPException exception) {
  +        catch (TransportException exception) {
               exception.printStackTrace();
               if (loggingEnabled == true) {
                   log.error("error", exception.getMessage(), exception);
               }
  -       }
  +        }
          // return result
          return serviceKey;
       }
  
  
  

--
To unsubscribe, e-mail:   <mailto:jetspeed-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:jetspeed-dev-help@jakarta.apache.org>


Mime
View raw message