scheu       02/04/23 15:33:20

  Modified:    java/src/org/apache/axis/deployment/wsdd WSDDService.java
  Log:
  A bug in the WSDDService object was reported by Greg Truty.
  
  He is building a WSDDService on the fly and using the
  addOperation code to add WSDDOperations.
  
  The code was failing to add the corresponding OperationDesc
  to the ServiceDesc.  This resulted in a number of hard
  to find problems during sync processing.
  
  Thanks to Greg for debugging this problem and proposing the following
  solution.
  
  Revision  Changes    Path
  1.59      +1 -0      
xml-axis/java/src/org/apache/axis/deployment/wsdd/WSDDService.java
  
  Index: WSDDService.java
  ===================================================================
  RCS file: 
/home/cvs/xml-axis/java/src/org/apache/axis/deployment/wsdd/WSDDService.java,v
  retrieving revision 1.58
  retrieving revision 1.59
  diff -u -r1.58 -r1.59
  --- WSDDService.java  15 Apr 2002 14:36:02 -0000      1.58
  +++ WSDDService.java  23 Apr 2002 22:33:20 -0000      1.59
  @@ -231,6 +231,7 @@
        **/
       public void addOperation(WSDDOperation operation) {
           operations.add(operation);
  +        desc.addOperationDesc(operation.getOperationDesc());
       }
   
       protected QName getElementName()
  
  
  


Reply via email to