axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ven...@apache.org
Subject cvs commit: ws-axis/java/src/org/apache/axis/description JavaServiceDesc.java
Date Sun, 24 Apr 2005 15:49:01 GMT
venkat      2005/04/24 08:49:01

  Modified:    java/src/org/apache/axis/description JavaServiceDesc.java
  Log:
  Fix for the issue AXIS-1725. Message style service should be able to recieve javax.xml.soap.SOAPEnvelope
as request parameter.
  
  Revision  Changes    Path
  1.26      +5 -3      ws-axis/java/src/org/apache/axis/description/JavaServiceDesc.java
  
  Index: JavaServiceDesc.java
  ===================================================================
  RCS file: /home/cvs/ws-axis/java/src/org/apache/axis/description/JavaServiceDesc.java,v
  retrieving revision 1.25
  retrieving revision 1.26
  diff -u -r1.25 -r1.26
  --- JavaServiceDesc.java	21 Apr 2005 19:47:06 -0000	1.25
  +++ JavaServiceDesc.java	24 Apr 2005 15:49:01 -0000	1.26
  @@ -799,9 +799,11 @@
                   return OperationDesc.MSG_METHOD_DOCUMENT;
               }
           } else if (params.length == 2) {
  -            if ((params[0] == SOAPEnvelope.class) &&
  -                    (params[1] == SOAPEnvelope.class) &&
  -                    (method.getReturnType() == void.class)) {
  +            if (((params[0] == SOAPEnvelope.class) &&
  +                    (params[1] == SOAPEnvelope.class)) || 
  +                ((params[0] == javax.xml.soap.SOAPEnvelope.class) &&
  +                    (params[1] == javax.xml.soap.SOAPEnvelope.class)) &&
  +                    (method.getReturnType() == void.class)){
                   return OperationDesc.MSG_METHOD_SOAPENVELOPE;
               }
           }
  
  
  

Mime
View raw message