axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d..@apache.org
Subject cvs commit: xml-axis/java/src/org/apache/axis/client HTTPCall.java HTTPMessage.java
Date Thu, 03 May 2001 21:15:38 GMT
dug         01/05/03 14:15:38

  Modified:    java/src/org/apache/axis/client HTTPCall.java
                        HTTPMessage.java
  Log:
  Add support for -t w/jws files
  To use it specify:
    -lfile:///d:\xml-axis\java\webapps\axis\StockQuoteService.jws
  
  Revision  Changes    Path
  1.22      +1 -0      xml-axis/java/src/org/apache/axis/client/HTTPCall.java
  
  Index: HTTPCall.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/client/HTTPCall.java,v
  retrieving revision 1.21
  retrieving revision 1.22
  diff -u -r1.21 -r1.22
  --- HTTPCall.java	2001/04/29 00:38:24	1.21
  +++ HTTPCall.java	2001/05/03 21:15:35	1.22
  @@ -212,6 +212,7 @@
       catch( Exception e ) {
         Debug.Print( 1, e );
         if ( !(e instanceof AxisFault ) ) e = new AxisFault( e );
  +      Debug.Print( 0, e.toString() );
         throw (AxisFault) e ;
       }
   
  
  
  
  1.30      +5 -1      xml-axis/java/src/org/apache/axis/client/HTTPMessage.java
  
  Index: HTTPMessage.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/client/HTTPMessage.java,v
  retrieving revision 1.29
  retrieving revision 1.30
  diff -u -r1.29 -r1.30
  --- HTTPMessage.java	2001/04/30 22:02:28	1.29
  +++ HTTPMessage.java	2001/05/03 21:15:36	1.30
  @@ -170,12 +170,16 @@
   
       // For testing - skip HTTP layer
       if ( doLocal ) {
  +      msgContext.setTargetService( action );
         if ( localServer == null ) {
           localServer = new org.apache.axis.server.AxisServer();
  +        if ( url.endsWith( ".jws") ) {
  +          msgContext.setProperty( "JWSFileName", url.substring(11) );
  +          msgContext.setTargetService( Constants.JWSPROCESSOR_TARGET );
  +        }
           localServer.init();
         }
         client = localServer;
  -      msgContext.setTargetService( action );
       }
       else {
         /* Ok, this might seem strange, but here it is...                    */
  
  
  

Mime
View raw message