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/transport/http SimpleAxisServer.java
Date Tue, 16 Oct 2001 16:34:49 GMT
gdaniels    01/10/16 09:34:49

  Modified:    java/src/org/apache/axis/transport/http
                        SimpleAxisServer.java
  Log:
  Enable URL mapping for "services/*" for SimpleAxisServer
  
  Revision  Changes    Path
  1.31      +5 -0      xml-axis/java/src/org/apache/axis/transport/http/SimpleAxisServer.java
  
  Index: SimpleAxisServer.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/transport/http/SimpleAxisServer.java,v
  retrieving revision 1.30
  retrieving revision 1.31
  diff -u -r1.30 -r1.31
  --- SimpleAxisServer.java	2001/10/16 13:25:52	1.30
  +++ SimpleAxisServer.java	2001/10/16 16:34:48	1.31
  @@ -261,6 +261,11 @@
                               fileName.toString();
                       msgContext.setProperty(MessageContext.TRANS_URL, url);
   
  +                    String filePart = fileName.toString();
  +                    if (filePart.startsWith("services/")) {
  +                        msgContext.setTargetService(filePart.substring(9));
  +                    }
  +
                       if (authInfo.length() > 0) {
                           // Process authentication info
                           //authInfo = new StringBuffer("dXNlcjE6cGFzczE=");
  
  
  

Mime
View raw message