gdaniels    02/04/01 12:29:40

  Modified:    java/src/org/apache/axis/deployment/wsdd WSDDService.java
  Log:
  This should be a little better, though perhaps
  still not perfect.
  
  Revision  Changes    Path
  1.50      +3 -4      
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.49
  retrieving revision 1.50
  diff -u -r1.49 -r1.50
  --- WSDDService.java  1 Apr 2002 20:12:16 -0000       1.49
  +++ WSDDService.java  1 Apr 2002 20:29:40 -0000       1.50
  @@ -179,10 +179,9 @@
           String className = this.getParameter("className");
           if (className != null) {
               try {
  -// This is likely no good - need to figure out which classloader to use
  -// and load the class when needed (for instance when the ServiceDesc is
  -// requested....  --Glen
  -                Class cls = Class.forName(className);
  +                // Will this always be the right classloader?
  +                ClassLoader cl = Thread.currentThread().getContextClassLoader();
  +                Class cls = cl.loadClass(className);
                   desc.setImplClass(cls);
                   initTMR();
                   String encStyle = Constants.URI_SOAP_ENC;
  
  
  


Reply via email to