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 HTTPSender.java
Date Fri, 07 Sep 2001 19:43:10 GMT
gdaniels    01/09/07 12:42:59

  Modified:    java/src/org/apache/axis/transport/http HTTPSender.java
  Log:
  Check for null namespaceURI...
  
  Revision  Changes    Path
  1.16      +4 -1      xml-axis/java/src/org/apache/axis/transport/http/HTTPSender.java
  
  Index: HTTPSender.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/transport/http/HTTPSender.java,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- HTTPSender.java	2001/09/05 17:23:00	1.15
  +++ HTTPSender.java	2001/09/07 19:42:59	1.16
  @@ -102,7 +102,10 @@
               if (action == null) {
                   Message rm = msgContext.getRequestMessage();
                   MessageElement body = rm.getAsSOAPEnvelope().getFirstBody();
  -                action = body.getNamespaceURI() + "/" + body.getName();
  +                action = body.getNamespaceURI();
  +                if (action == null) action = "";
  +                if (!action.endsWith("/")) action += "/";
  +                action += body.getName();
               }
   
               host = tmpURL.getHost();
  
  
  

Mime
View raw message