axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ru...@apache.org
Subject cvs commit: xml-axis/java/src/org/apache/axis/transport/http HTTPTransport.java
Date Fri, 03 Aug 2001 17:17:06 GMT
rubys       01/08/03 10:17:06

  Modified:    java/src/org/apache/axis/client ServiceClient.java
               java/src/org/apache/axis/transport/http HTTPTransport.java
  Log:
  Keep searching for a handler until the service is found.
  
  Revision  Changes    Path
  1.35      +1 -1      xml-axis/java/src/org/apache/axis/client/ServiceClient.java
  
  Index: ServiceClient.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/client/ServiceClient.java,v
  retrieving revision 1.34
  retrieving revision 1.35
  diff -u -r1.34 -r1.35
  --- ServiceClient.java	2001/08/03 17:08:09	1.34
  +++ ServiceClient.java	2001/08/03 17:17:06	1.35
  @@ -446,7 +446,7 @@
           if ( body.getNamespaceURI() == null ) {
               throw new AxisFault("ServiceClient.invoke", "Cannot invoke ServiceClient with
null namespace URI for method "+body.getMethodName(),
                                   null, null);
  -        } else if (msgContext.getTargetService() == null) {
  +        } else if (msgContext.getServiceHandler() == null) {
               msgContext.setTargetService(body.getNamespaceURI());
           }
          
  
  
  
  1.3       +4 -2      xml-axis/java/src/org/apache/axis/transport/http/HTTPTransport.java
  
  Index: HTTPTransport.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/transport/http/HTTPTransport.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- HTTPTransport.java	2001/08/03 17:08:09	1.2
  +++ HTTPTransport.java	2001/08/03 17:17:06	1.3
  @@ -124,8 +124,10 @@
           
           mc.setTransportName(transportName);
           
  -        // !!! Not sure about this
  -        if (mc.getTargetService() == null) {
  +        // Allow the SOAPAction to determine the service, if the service
  +        // (a) has not already been determined, and (b) if a service matching
  +        // the soap action has been deployed.
  +        if (mc.getServiceHandler() == null) {
               mc.setTargetService( (String)mc.getProperty(ACTION) );
           }
       }
  
  
  

Mime
View raw message