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/handlers HTTPDispatchHandler.java
Date Wed, 31 Jan 2001 21:36:38 GMT
dug         01/01/31 13:36:38

  Modified:    java/src/org/apache/axis/client HTTPCall.java
               java/src/org/apache/axis/handlers HTTPDispatchHandler.java
  Log:
  Minor changes to try to make it work against the v2 server.
  Still not there yet because of the xsi stuff.
  
  Revision  Changes    Path
  1.2       +2 -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.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- HTTPCall.java	2001/01/31 19:49:51	1.1
  +++ HTTPCall.java	2001/01/31 21:36:37	1.2
  @@ -115,6 +115,8 @@
       Vector               resArgs = null ;
       RPCArg               arg ;
   
  +    body.setNamespace( "m" );
  +    body.setNamespaceURI( action );
       reqEnv.addBody( body );
       msgContext.setProperty( "HTTP_URL", url );   // horrible name!
       msgContext.setProperty( "HTTP_ACTION", action );   // horrible name!
  
  
  
  1.2       +1 -0      xml-axis/java/src/org/apache/axis/handlers/HTTPDispatchHandler.java
  
  Index: HTTPDispatchHandler.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/handlers/HTTPDispatchHandler.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- HTTPDispatchHandler.java	2001/01/31 19:49:52	1.1
  +++ HTTPDispatchHandler.java	2001/01/31 21:36:37	1.2
  @@ -105,6 +105,7 @@
         InputStream   inp  = sock.getInputStream();
         String        header = "POST " + tmpURL.getPath() + " HTTP/1.0\n" +
                                "Content-Length: " + reqEnv.length() + "\n" +
  +                             "Content-Type: text/xml\n" +
                                "SOAPAction: " + action + "\n\n" ;
   
         out.write( header.getBytes() );
  
  
  

Mime
View raw message