axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ga...@apache.org
Subject cvs commit: ws-axis/java/src/org/apache/axis/transport/local LocalSender.java
Date Thu, 19 Aug 2004 19:22:27 GMT
gawor       2004/08/19 12:22:27

  Modified:    java/src/org/apache/axis/transport/local LocalSender.java
  Log:
  set TRANS_URL in LocalSender
  
  Revision  Changes    Path
  1.48      +5 -2      ws-axis/java/src/org/apache/axis/transport/local/LocalSender.java
  
  Index: LocalSender.java
  ===================================================================
  RCS file: /home/cvs/ws-axis/java/src/org/apache/axis/transport/local/LocalSender.java,v
  retrieving revision 1.47
  retrieving revision 1.48
  diff -u -r1.47 -r1.48
  --- LocalSender.java	25 Feb 2004 14:02:47 -0000	1.47
  +++ LocalSender.java	19 Aug 2004 19:22:27 -0000	1.48
  @@ -116,9 +116,12 @@
               try {
                   URL url = new URL(transURL);
                   String file = url.getFile();
  -                if (file.length()>0 && file.charAt(0)=='/') file = file.substring(1);
  +                if (file.length()>0 && file.charAt(0)=='/') {
  +                    file = file.substring(1);
  +                }
                   serverContext.setProperty(Constants.MC_REALPATH, file);
  -                
  +                serverContext.setProperty(MessageContext.TRANS_URL,
  +                                          "local:///" + file);
                   // This enables "local:///AdminService" and the like to work.
                   serverContext.setTargetService(file);
               } catch (Exception e) {
  
  
  

Mime
View raw message