You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-dev@ws.apache.org by du...@locus.apache.org on 2000/07/20 19:24:54 UTC

cvs commit: xml-soap/java/src/org/apache/soap/server ServiceManagerClient.java

duftler     00/07/20 10:24:54

  Modified:    java/src/org/apache/soap/server ServiceManagerClient.java
  Log:
  Fixed a bug that occurred when a ServiceManagerClient was instantiated and
  used to make several invocations. The problem was: when there were no
  params, the params property of the Call object was not being set to null.
  It was still pointing to whatever it pointed to from the previous call.
  Thanks to Peter Brittenham for finding and fixing this bug.
  Submitted by:	Peter Brittenham peterbr@us.ibm.com
  
  Revision  Changes    Path
  1.3       +2 -0      xml-soap/java/src/org/apache/soap/server/ServiceManagerClient.java
  
  Index: ServiceManagerClient.java
  ===================================================================
  RCS file: /home/cvs/xml-soap/java/src/org/apache/soap/server/ServiceManagerClient.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- ServiceManagerClient.java	2000/05/30 10:24:06	1.2
  +++ ServiceManagerClient.java	2000/07/20 17:24:53	1.3
  @@ -104,6 +104,8 @@
         params.removeAllElements ();
         params.addElement (param);
         call.setParams (params);
  +    } else {
  +      call.setParams (null);
       }
       Response resp = call.invoke (routerURL, "");
       if (resp.generatedFault ()) {