axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gdani...@apache.org
Subject cvs commit: xml-axis/java/src/org/apache/axis/deployment/wsdd WSDDHandler.java
Date Wed, 05 Dec 2001 18:33:26 GMT
gdaniels    01/12/05 10:33:26

  Modified:    java/src/org/apache/axis/deployment/wsdd WSDDHandler.java
  Log:
  Doesn't make sense to deploy Handlers without types.
  
  Revision  Changes    Path
  1.14      +3 -3      xml-axis/java/src/org/apache/axis/deployment/wsdd/WSDDHandler.java
  
  Index: WSDDHandler.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/deployment/wsdd/WSDDHandler.java,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- WSDDHandler.java	2001/11/25 23:49:33	1.13
  +++ WSDDHandler.java	2001/12/05 18:33:26	1.14
  @@ -57,6 +57,7 @@
   import org.apache.axis.Handler;
   import org.apache.axis.encoding.SerializationContext;
   import org.apache.axis.utils.XMLUtils;
  +import org.apache.axis.utils.JavaUtils;
   import org.apache.axis.deployment.DeploymentRegistry;
   import org.apache.axis.deployment.DeploymentException;
   import org.w3c.dom.Document;
  @@ -90,11 +91,9 @@
           throws WSDDException
       {
           super(e);
  -        /*
           if (type == null && (this.getClass() == WSDDHandler.class)) {
  -            throw new WSDDException("Must include type attribute for Handlers");
  +            throw new WSDDException(JavaUtils.getMessage("noTypeAttr00"));
           }
  -        */
       }
   
       protected QName getElementName()
  @@ -111,6 +110,7 @@
               attrs.addAttribute("", "name", "name",
                                  "CDATA", context.qName2String(name));
           }
  +        
           attrs.addAttribute("", "type", "type",
                              "CDATA", context.qName2String(getType()));
           context.startElement(new QName(WSDDConstants.WSDD_NS, "handler"),
  
  
  

Mime
View raw message