You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by ru...@apache.org on 2001/07/18 03:14:51 UTC

cvs commit: xml-axis/java/src/org/apache/axis/message RPCElement.java

rubys       01/07/17 18:14:51

  Modified:    java/src/org/apache/axis/message RPCElement.java
  Log:
  Prior to this fix, we actually were getting back "null" as the name of
  the element containing the response...this is due to a confusion between
  the two names being tracked... seems better to eliminate the possibility
  be reducing the number of names.
  
  Revision  Changes    Path
  1.16      +2 -5      xml-axis/java/src/org/apache/axis/message/RPCElement.java
  
  Index: RPCElement.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/message/RPCElement.java,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- RPCElement.java	2001/07/16 17:37:02	1.15
  +++ RPCElement.java	2001/07/18 01:14:50	1.16
  @@ -9,21 +9,18 @@
   
   public class RPCElement extends SOAPBodyElement
   {
  -    protected String methodName;    
       protected Vector params = new Vector();
       
       public RPCElement(String namespace, String localName, String prefix,
                         Attributes attributes, DeserializationContext context)
       {
           super(namespace, localName, prefix, attributes, context);
  -        methodName = localName;
       }
       
       public RPCElement(String namespace, String methodName,
                         Object [] args, ServiceDescription serviceDesc)
       {
           this.setNamespaceURI(namespace);
  -        this.methodName = methodName;
           this.name = methodName;
           
           for (int i = 0; args != null && i < args.length; i++) {
  @@ -47,12 +44,12 @@
       
       public RPCElement(String methodName)
       {
  -        this.methodName = methodName;
  +        this.name = methodName;
       }
       
       public String getMethodName()
       {
  -        return methodName;
  +        return name;
       }
       
       /** This gets the FIRST param whose name matches.