dims        2002/09/18 11:25:50

  Modified:    java/src/org/apache/axis/deployment/wsdd WSDDDeployment.java
                        WSDDService.java
  Log:
  Possible fix for Bug 12737 - reference to AxisServer fails
  
  Revision  Changes    Path
  1.45      +4 -2      
xml-axis/java/src/org/apache/axis/deployment/wsdd/WSDDDeployment.java
  
  Index: WSDDDeployment.java
  ===================================================================
  RCS file: 
/home/cvs/xml-axis/java/src/org/apache/axis/deployment/wsdd/WSDDDeployment.java,v
  retrieving revision 1.44
  retrieving revision 1.45
  diff -u -r1.44 -r1.45
  --- WSDDDeployment.java       29 Aug 2002 21:02:40 -0000      1.44
  +++ WSDDDeployment.java       18 Sep 2002 18:25:50 -0000      1.45
  @@ -59,6 +59,7 @@
   import org.apache.axis.Constants;
   import org.apache.axis.EngineConfiguration;
   import org.apache.axis.Handler;
  +import org.apache.axis.utils.Messages;
   import org.apache.axis.encoding.DeserializerFactory;
   import org.apache.axis.encoding.SerializationContext;
   import org.apache.axis.encoding.SerializerFactory;
  @@ -345,8 +346,9 @@
               //log.debug("set dser factory");
               tm.register( mapping.getLanguageSpecificType(), mapping.getQName(), 
ser, deser);
               //log.debug("registered");
  -        }
  -        catch (Exception e) {
  +        } catch (ClassNotFoundException e) {
  +            log.info(Messages.getMessage("unabletoDeployTypemapping00", 
mapping.getQName().toString()), e);
  +        } catch (Exception e) {
               throw new WSDDException(e);
           }
       }
  
  
  
  1.92      +1 -1      
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.91
  retrieving revision 1.92
  diff -u -r1.91 -r1.92
  --- WSDDService.java  18 Sep 2002 16:10:39 -0000      1.91
  +++ WSDDService.java  18 Sep 2002 18:25:50 -0000      1.92
  @@ -538,7 +538,7 @@
               }
               tm.register( mapping.getLanguageSpecificType(), mapping.getQName(), 
ser, deser);
           } catch (ClassNotFoundException e) {
  -            throw new WSDDException(e);
  +            log.info(Messages.getMessage("unabletoDeployTypemapping00", 
mapping.getQName().toString()), e);
           } catch (Exception e) {
               throw new WSDDException(e);
           }
  
  
  


Reply via email to