Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 88571 invoked from network); 10 Jan 2006 15:31:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 10 Jan 2006 15:31:01 -0000 Received: (qmail 45627 invoked by uid 500); 10 Jan 2006 15:30:56 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 45597 invoked by uid 500); 10 Jan 2006 15:30:56 -0000 Mailing-List: contact axis-cvs-help@ws.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-cvs@ws.apache.org Received: (qmail 45584 invoked by uid 500); 10 Jan 2006 15:30:56 -0000 Delivered-To: apmail-ws-axis2-cvs@ws.apache.org Received: (qmail 45577 invoked by uid 99); 10 Jan 2006 15:30:56 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Jan 2006 07:30:56 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [209.237.227.194] (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 10 Jan 2006 07:30:55 -0800 Received: (qmail 87465 invoked by uid 65534); 10 Jan 2006 15:30:11 -0000 Message-ID: <20060110153011.87464.qmail@minotaur.apache.org> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r367644 - /webservices/axis2/trunk/java/xdocs/0_94/adb/adb-howto.html Date: Tue, 10 Jan 2006 15:30:10 -0000 To: axis2-cvs@ws.apache.org From: ruchithf@apache.org X-Mailer: svnmailer-1.0.5 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: ruchithf Date: Tue Jan 10 07:30:04 2006 New Revision: 367644 URL: http://svn.apache.org/viewcvs?rev=367644&view=rev Log: Fixing typos Modified: webservices/axis2/trunk/java/xdocs/0_94/adb/adb-howto.html Modified: webservices/axis2/trunk/java/xdocs/0_94/adb/adb-howto.html URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/xdocs/0_94/adb/adb-howto.html?rev=367644&r1=367643&r2=367644&view=diff ============================================================================== --- webservices/axis2/trunk/java/xdocs/0_94/adb/adb-howto.html (original) +++ webservices/axis2/trunk/java/xdocs/0_94/adb/adb-howto.html Tue Jan 10 07:30:04 2006 @@ -83,12 +83,12 @@ primitive and does not provide much control over the code generation process. This is bound to improve in the near future.

-

Code generator accepts the follwing parameters

+

Code generator accepts the following parameters

  1. The Schema file name - This should be a complete file name pointing to the local file system
  2. The output folder name - This should be the name of a folder within the - local fileSystem
  3. + local file system

Since the main class has no validations built in, the compiler is likely @@ -117,9 +117,9 @@ -

For a comprehensive code sample in invoking the schema compiler throught +

For a comprehensive code sample in invoking the schema compiler through the API, the following classes would be helpful. One would also need an -undertanding of the generation modes of the ADB schema compiler when using it +understanding of the generation modes of the ADB schema compiler when using it through the API.

  • org.apache.axis2.schema.XSD2Java
  • @@ -173,7 +173,7 @@ wrapClasses This determines whether to wrap the generated classes. If the flag is on then a single class (with adb added to the end of the specified - packge) will be generated. The default is off. + package) will be generated. The default is off. @@ -195,7 +195,7 @@

    Once the code is generated according to the rules it looks like the -following. Consider the follwing piece of schema

    +following. Consider the following piece of schema

    <schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
     xmlns:tns="http://soapinterop.org/types" targetNamespace="http://soapinterop.org/types">
     <import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
    @@ -213,7 +213,7 @@
     generator. Unless specifically mentioned, the rest of this document assumes
     that the expanded mode of the code generation is used. This particular schema
     generates the following two classes in the designated package. This package
    -is derived from the target Namespace of the schema.

    +is derived from the target namespace of the schema.

    1. myElement.java
    2. SOAPStruct.java
    3. @@ -264,7 +264,7 @@

      An Example!

      -

      Consider the follwing XML fragment

      +

      Consider the following XML fragment

      <myElement>
         <varInt>5</varInt>
         <varString>Hello</varString>
      @@ -283,7 +283,7 @@
       
       

      Although this example takes on the tedious effort of creating a reader out of the String, inside the Axis2 environment an XMLStreamReader can be -direclty asked from the OMElement! Hence the parse method becomes a hugh +direclty asked from the OMElement! Hence the parse method becomes a huge advantage for hassle free object creation.

      Similarly the reader obtained from the object can also be utilized as