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/utils axisNLS.properties
Date Thu, 01 Aug 2002 22:13:09 GMT
gdaniels    2002/08/01 15:13:09

  Modified:    java/test/wsdl/sequence SequenceService.java
               java/src/org/apache/axis/message BodyBuilder.java
               java/src/org/apache/axis/utils axisNLS.properties
  Log:
  Use resource message in BodyBuilder, clean up JavaDocs for test.
  
  Revision  Changes    Path
  1.2       +7 -5      xml-axis/java/test/wsdl/sequence/SequenceService.java
  
  Index: SequenceService.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/test/wsdl/sequence/SequenceService.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- SequenceService.java	30 Jul 2002 06:16:04 -0000	1.1
  +++ SequenceService.java	1 Aug 2002 22:13:08 -0000	1.2
  @@ -66,7 +66,8 @@
   
   /**
    * Sequence test service.  This is a custom built message-style service
  - * which confirms that
  + * which confirms that the XML it receives correctly contains ordered
  + * elements <zero> through <five>.
    *
    * @author Glen Daniels (gdaniels@apache.org)
    */
  @@ -81,7 +82,8 @@
        * This is a message-style service because we're just testing the
        * serialization.
        *
  -     * @return
  +     * @return a SOAP response in a DOM Element, either boolean true or false,
  +     *         indicating the success/failure of the test.
        */
       public Element [] testSequence(Vector elems) {
           Element zero = null;
  @@ -131,9 +133,9 @@
       }
   
       /**
  -     * Walk an XML tree, looking for a <zero> element
  -     * @param start
  -     * @return
  +     * Walk an XML tree, looking for a &lt;zero&gt; element
  +     * @param start the Element to walk down from
  +     * @return an Element named &lt;zero&gt; or null
        */
       private Element findTheZero(Element start) {
           if (names[0].equals(start.getLocalName())) {
  
  
  
  1.45      +2 -1      xml-axis/java/src/org/apache/axis/message/BodyBuilder.java
  
  Index: BodyBuilder.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/message/BodyBuilder.java,v
  retrieving revision 1.44
  retrieving revision 1.45
  diff -u -r1.44 -r1.45
  --- BodyBuilder.java	30 Jul 2002 06:16:04 -0000	1.44
  +++ BodyBuilder.java	1 Aug 2002 22:13:08 -0000	1.45
  @@ -62,6 +62,7 @@
   
   import org.apache.axis.Constants;
   import org.apache.axis.MessageContext;
  +import org.apache.axis.utils.JavaUtils;
   import org.apache.axis.soap.SOAPConstants;
   import org.apache.axis.description.OperationDesc;
   import org.apache.axis.encoding.DeserializationContext;
  @@ -197,7 +198,7 @@
               if (style == Style.RPC &&
                       context.getMessageContext().getSOAPConstants() ==
                       SOAPConstants.SOAP12_CONSTANTS) {
  -                throw new SAXException("Only one body allowed for SOAP 1.2 RPC");
  +                throw new SAXException(JavaUtils.getMessage("onlyOneBodyFor12"));
               }
               element = new SOAPBodyElement(namespace, localName, prefix,
                                         attributes, context);
  
  
  
  1.32      +3 -0      xml-axis/java/src/org/apache/axis/utils/axisNLS.properties
  
  Index: axisNLS.properties
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/utils/axisNLS.properties,v
  retrieving revision 1.31
  retrieving revision 1.32
  diff -u -r1.31 -r1.32
  --- axisNLS.properties	29 Jul 2002 21:30:01 -0000	1.31
  +++ axisNLS.properties	1 Aug 2002 22:13:09 -0000	1.32
  @@ -951,3 +951,6 @@
   unexpectedBytes00=Error looking for paramter names in bytecode: unexpected bytes in file
   beanCompatExtends00=The class {0} extends non-bean class {1}.  An xml schema anyType will
be used to define {0} in the wsdl file.
   wrongNamespace00=The XML Schema type ''{0}'' is not valid in the Schema version ''{1}''.
  +
  +onlyOneBodyFor12=Only one body allowed for SOAP 1.2 RPC
  +
  
  
  

Mime
View raw message