axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gdani...@apache.org
Subject cvs commit: xml-axis/java/src/org/apache/axis/client Call.java
Date Sun, 04 Aug 2002 12:31:01 GMT
gdaniels    2002/08/04 05:31:01

  Modified:    java/src/org/apache/axis/transport/local LocalSender.java
               java/src/org/apache/axis/client Call.java
  Log:
  Replace code to deal with custom protocol types, and add code to
  throw any Exception occurring during URL creation in the LocalSender's
  invoke().
  
  Revision  Changes    Path
  1.37      +1 -0      xml-axis/java/src/org/apache/axis/transport/local/LocalSender.java
  
  Index: LocalSender.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/transport/local/LocalSender.java,v
  retrieving revision 1.36
  retrieving revision 1.37
  diff -u -r1.36 -r1.37
  --- LocalSender.java	3 Jul 2002 17:50:33 -0000	1.36
  +++ LocalSender.java	4 Aug 2002 12:31:01 -0000	1.37
  @@ -145,6 +145,7 @@
                   // This enables "local:///AdminService" and the like to work.
                   serverContext.setTargetService(file);
               } catch (Exception e) {
  +                throw AxisFault.makeFault(e);
               }
           }
   
  
  
  
  1.167     +8 -11     xml-axis/java/src/org/apache/axis/client/Call.java
  
  Index: Call.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/client/Call.java,v
  retrieving revision 1.166
  retrieving revision 1.167
  diff -u -r1.166 -r1.167
  --- Call.java	4 Aug 2002 03:23:10 -0000	1.166
  +++ Call.java	4 Aug 2002 12:31:01 -0000	1.167
  @@ -1459,17 +1459,14 @@
   
           transportPackages.add(packageName);
           
  -        // the following isn't safe/secure, and it's not clear that it's necessary.
  -        // particularly in light of the AxisProperties model.
  -//
  -//        StringBuffer currentPackages = new StringBuffer();
  -//        for (Iterator i = transportPackages.iterator(); i.hasNext();) {
  -//            String thisPackage = (String) i.next();
  -//            currentPackages.append(thisPackage);
  -//            currentPackages.append('|');
  -//        }
  -//
  -//        System.setProperty(TRANSPORT_PROPERTY, currentPackages.toString());
  +        StringBuffer currentPackages = new StringBuffer();
  +        for (Iterator i = transportPackages.iterator(); i.hasNext();) {
  +            String thisPackage = (String) i.next();
  +            currentPackages.append(thisPackage);
  +            currentPackages.append('|');
  +        }
  +
  +        System.setProperty(TRANSPORT_PROPERTY, currentPackages.toString());
       }
   
       /**
  
  
  

Mime
View raw message