axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject cvs commit: ws-axis/java/src/org/apache/axis/message RPCHandler.java
Date Tue, 11 May 2004 13:31:00 GMT
dims        2004/05/11 06:31:00

  Modified:    java/src/org/apache/axis/message RPCHandler.java
  Log:
  Fix on axis-user list - http://marc.theaimsgroup.com/?l=axis-user&m=108395184713327&w=2
  
  Revision  Changes    Path
  1.76      +2 -1      ws-axis/java/src/org/apache/axis/message/RPCHandler.java
  
  Index: RPCHandler.java
  ===================================================================
  RCS file: /home/cvs/ws-axis/java/src/org/apache/axis/message/RPCHandler.java,v
  retrieving revision 1.75
  retrieving revision 1.76
  diff -u -r1.75 -r1.76
  --- RPCHandler.java	8 Apr 2004 12:47:32 -0000	1.75
  +++ RPCHandler.java	11 May 2004 13:31:00 -0000	1.76
  @@ -37,6 +37,7 @@
   import org.apache.commons.logging.Log;
   import org.xml.sax.Attributes;
   import org.xml.sax.SAXException;
  +import org.w3c.dom.Element;
   
   import javax.xml.namespace.QName;
   import java.util.Vector;
  @@ -262,7 +263,7 @@
           if (dser == null) {
             if (type != null) {
                 dser = context.getDeserializerForType(type);
  -              if(null != destClass && dser == null && destClass.isAssignableFrom(
org.w3c.dom.Element.class )){
  +              if(null != destClass && dser == null && Element.class.isAssignableFrom(destClass)){
                   //If a DOM element is expected, as last resort always allow direct mapping

                   // of parameter's SOAP xml to a DOM element.  Support of literal  parms
by default.
                   dser = context.getDeserializerForType(Constants.SOAP_ELEMENT);
  
  
  

Mime
View raw message