axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Srinath Perera <hemap...@gmail.com>
Subject Re: svn commit: r111222 - in webservices/axis/trunk/java/dev/scratch/prototype2/src: java/org/apache/axis/client java/org/apache/axis/impl/llom java/org/apache/axis/impl/llom/builder java/org/apache/axis/impl/llom/wrapper java/org/apache/axis/impl/tr
Date Wed, 08 Dec 2004 06:52:28 GMT
the commit faild the build with following stractrace .. seems you have
not add the SOAPFault
Thanks
Srinath

/home/hemapani/svncode/axis2-scratch/prototype2/src/java/org/apache/axis/impl/llom/SOAPBodyImpl.java:6:
cannot resolve symbol
symbol  : class SOAPFault
location: package om
import org.apache.axis.om.SOAPFault;
                          ^
/home/hemapani/svncode/axis2-scratch/prototype2/src/java/org/apache/axis/impl/llom/SOAPBodyImpl.java:55:
cannot resolve symbol
symbol  : class SOAPFault
location: class org.apache.axis.impl.llom.SOAPBodyImpl
    public SOAPFault addFault() throws OMException {
           ^
/home/hemapani/svncode/axis2-scratch/prototype2/src/java/org/apache/axis/impl/llom/SOAPBodyImpl.java:78:
cannot resolve symbol
symbol  : class SOAPFault
location: class org.apache.axis.impl.llom.SOAPBodyImpl
    public SOAPFault getFault() {
           ^
/home/hemapani/svncode/axis2-scratch/prototype2/src/java/org/apache/axis/impl/llom/SOAPBodyImpl.java:87:
cannot resolve symbol
symbol  : class SOAPFault
location: class org.apache.axis.impl.llom.SOAPBodyImpl
    public void addFault(SOAPFault soapFault) throws OMException {
                         ^
/home/hemapani/svncode/axis2-scratch/prototype2/src/java/org/apache/axis/om/SOAPBody.java:38:
cannot resolve symbol
symbol  : class SOAPFault
location: interface org.apache.axis.om.SOAPBody
    public abstract SOAPFault addFault() throws OMException;
                    ^
/home/hemapani/svncode/axis2-scratch/prototype2/src/java/org/apache/axis/om/SOAPBody.java:57:
cannot resolve symbol
symbol  : class SOAPFault
location: interface org.apache.axis.om.SOAPBody
    public abstract SOAPFault getFault();
                    ^
/home/hemapani/svncode/axis2-scratch/prototype2/src/java/org/apache/axis/om/SOAPBody.java:63:
cannot resolve symbol
symbol  : class SOAPFault
location: interface org.apache.axis.om.SOAPBody


On 8 Dec 2004 06:00:49 -0000, chinthaka@apache.org <chinthaka@apache.org> wrote:
> Author: chinthaka
> Date: Tue Dec  7 22:00:48 2004
> New Revision: 111222
> 
> URL: http://svn.apache.org/viewcvs?view=rev&rev=111222
> Log:
> Changed method signatures of SOAP Fault and Document
> Modified:
>    webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/client/Call.java
>    webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/impl/llom/SOAPBodyImpl.java
>    webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/impl/llom/builder/ObjectToOMBuilder.java
>    webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/impl/llom/builder/StAXOMBuilder.java
>    webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/impl/llom/builder/StAXSOAPModelBuilder.java
>    webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/impl/llom/wrapper/OMXPPWrapper.java
>    webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/impl/transport/http/ServerHttpHandler.java
>    webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/om/OMXMLParserWrapper.java
>    webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/om/SOAPBody.java
>    webservices/axis/trunk/java/dev/scratch/prototype2/src/test/org/apache/axis/om/CompareOMWithDOMTest.java
>    webservices/axis/trunk/java/dev/scratch/prototype2/src/test/org/apache/axis/om/MessagesTest.java
>    webservices/axis/trunk/java/dev/scratch/prototype2/src/test/org/apache/axis/om/OMBodyTest.java
>    webservices/axis/trunk/java/dev/scratch/prototype2/src/test/org/apache/axis/om/OMEnvelopeTest.java
>    webservices/axis/trunk/java/dev/scratch/prototype2/src/test/org/apache/axis/om/OMTest.java
>    webservices/axis/trunk/java/dev/scratch/prototype2/src/test/org/apache/axis/om/impl/builder/StAXOMBuilderTest.java
> 
> Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/client/Call.java
> Url: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/client/Call.java?view=diff&rev=111222&p1=webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/client/Call.java&r1=111221&p2=webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/client/Call.java&r2=111222
> ==============================================================================
> --- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/client/Call.java
       (original)
> +++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/client/Call.java
       Tue Dec  7 22:00:48 2004
> @@ -181,7 +181,7 @@
>              XMLStreamReader reader =  XMLInputFactory.newInstance().createXMLStreamReader(isr);
> 
>              StAXBuilder builder = new StAXSOAPModelBuilder(OMFactory.newInstance(),reader);
> -            msgContext.setEnvelope((SOAPEnvelope)builder.getRootElement());
> +            msgContext.setEnvelope((SOAPEnvelope)builder.getDocumentElement());
> 
>              EngineRegistry reg = engine.getRegistry();
>          } catch (XMLStreamException e) {
> 
> Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/impl/llom/SOAPBodyImpl.java
> Url: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/impl/llom/SOAPBodyImpl.java?view=diff&rev=111222&p1=webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/impl/llom/SOAPBodyImpl.java&r1=111221&p2=webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/impl/llom/SOAPBodyImpl.java&r2=111222
> ==============================================================================
> --- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/impl/llom/SOAPBodyImpl.java
    (original)
> +++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/impl/llom/SOAPBodyImpl.java
    Tue Dec  7 22:00:48 2004
> @@ -3,7 +3,7 @@
>  import org.apache.axis.om.OMConstants;
> 
>  import org.apache.axis.om.OMElement;
> 
>  import org.apache.axis.om.OMException;
> 
> -import org.apache.axis.om.OMFault;
> 
> +import org.apache.axis.om.SOAPFault;
> 
>  import org.apache.axis.om.OMNamespace;
> 
>  import org.apache.axis.om.OMXMLParserWrapper;
> 
>  import org.apache.axis.om.SOAPBody;
> 
> @@ -46,21 +46,21 @@
>      }
> 
>      /**
> 
> -     * Creates a new <code>OMFault</code> object and adds it to
> 
> +     * Creates a new <code>SOAPFault</code> object and adds it to
> 
>       * this <code>SOAPBody</code> object.
> 
>       *
> 
> -     * @return the new <code>OMFault</code> object
> 
> +     * @return the new <code>SOAPFault</code> object
> 
>       * @throws org.apache.axis.om.OMException if there is a SOAP error
> 
>       */
> 
> -    public OMFault addFault() throws OMException {
> 
> +    public SOAPFault addFault() throws OMException {
> 
>          throw new UnsupportedOperationException(); //TODO implement this
> 
>      }
> 
>      /**
> 
> -     * Indicates whether a <code>OMFault</code> object exists in
> 
> +     * Indicates whether a <code>SOAPFault</code> object exists in
> 
>       * this <code>SOAPBody</code> object.
> 
>       *
> 
> -     * @return <code>true</code> if a <code>OMFault</code> object
exists in
> 
> +     * @return <code>true</code> if a <code>SOAPFault</code>
object exists in
> 
>       *         this <code>SOAPBody</code> object; <code>false</code>
> 
>       *         otherwise
> 
>       */
> 
> @@ -69,22 +69,22 @@
>      }
> 
>      /**
> 
> -     * Returns the <code>OMFault</code> object in this <code>SOAPBody</code>
> 
> +     * Returns the <code>SOAPFault</code> object in this <code>SOAPBody</code>
> 
>       * object.
> 
>       *
> 
> -     * @return the <code>OMFault</code> object in this <code>SOAPBody</code>
> 
> +     * @return the <code>SOAPFault</code> object in this <code>SOAPBody</code>
> 
>       *         object
> 
>       */
> 
> -    public OMFault getFault() {
> 
> +    public SOAPFault getFault() {
> 
>          throw new UnsupportedOperationException(); //TODO implement this
> 
>      }
> 
>      /**
> 
> -     * @param omFault
> 
> +     * @param soapFault
> 
>       * @throws org.apache.axis.om.OMException
> 
>       */
> 
> -    public void addFault(OMFault omFault) throws OMException {
> 
> +    public void addFault(SOAPFault soapFault) throws OMException {
> 
>          throw new UnsupportedOperationException(); //TODO implement this
> 
>      }
> 
> Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/impl/llom/builder/ObjectToOMBuilder.java
> Url: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/impl/llom/builder/ObjectToOMBuilder.java?view=diff&rev=111222&p1=webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/impl/llom/builder/ObjectToOMBuilder.java&r1=111221&p2=webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/impl/llom/builder/ObjectToOMBuilder.java&r2=111222
> ==============================================================================
> --- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/impl/llom/builder/ObjectToOMBuilder.java
       (original)
> +++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/impl/llom/builder/ObjectToOMBuilder.java
       Tue Dec  7 22:00:48 2004
> @@ -110,7 +110,7 @@
>          throw new UnsupportedOperationException(); //TODO implement this
> 
>      }
> 
> -    public OMElement getRootElement() {
> 
> +    public OMElement getDocumentElement() {
> 
>          throw new UnsupportedOperationException(); //TODO implement this
> 
>      }
> 
> Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/impl/llom/builder/StAXOMBuilder.java
> Url: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/impl/llom/builder/StAXOMBuilder.java?view=diff&rev=111222&p1=webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/impl/llom/builder/StAXOMBuilder.java&r1=111221&p2=webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/impl/llom/builder/StAXOMBuilder.java&r2=111222
> ==============================================================================
> --- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/impl/llom/builder/StAXOMBuilder.java
   (original)
> +++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/impl/llom/builder/StAXOMBuilder.java
   Tue Dec  7 22:00:48 2004
> @@ -132,7 +132,7 @@
>          }
> 
>      }
> 
> -    public OMElement getRootElement() {
> 
> +    public OMElement getDocumentElement() {
> 
>          return document.getRootElement();
> 
>      }
> 
>  }
> 
> Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/impl/llom/builder/StAXSOAPModelBuilder.java
> Url: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/impl/llom/builder/StAXSOAPModelBuilder.java?view=diff&rev=111222&p1=webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/impl/llom/builder/StAXSOAPModelBuilder.java&r1=111221&p2=webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/impl/llom/builder/StAXSOAPModelBuilder.java&r2=111222
> ==============================================================================
> --- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/impl/llom/builder/StAXSOAPModelBuilder.java
    (original)
> +++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/impl/llom/builder/StAXSOAPModelBuilder.java
    Tue Dec  7 22:00:48 2004
> @@ -167,7 +167,7 @@
>          }
> 
>      }
> 
> -    public OMElement getRootElement() {
> 
> +    public OMElement getDocumentElement() {
> 
>          return getOMEnvelope();
> 
>      }
> 
> Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/impl/llom/wrapper/OMXPPWrapper.java
> Url: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/impl/llom/wrapper/OMXPPWrapper.java?view=diff&rev=111222&p1=webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/impl/llom/wrapper/OMXPPWrapper.java&r1=111221&p2=webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/impl/llom/wrapper/OMXPPWrapper.java&r2=111222
> ==============================================================================
> --- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/impl/llom/wrapper/OMXPPWrapper.java
    (original)
> +++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/impl/llom/wrapper/OMXPPWrapper.java
    Tue Dec  7 22:00:48 2004
> @@ -276,7 +276,7 @@
>          return done;
> 
>      }
> 
> -    public OMElement getRootElement() {
> 
> +    public OMElement getDocumentElement() {
> 
>          return getOMEnvelope();
> 
>      }
> 
> Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/impl/transport/http/ServerHttpHandler.java
> Url: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/impl/transport/http/ServerHttpHandler.java?view=diff&rev=111222&p1=webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/impl/transport/http/ServerHttpHandler.java&r1=111221&p2=webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/impl/transport/http/ServerHttpHandler.java&r2=111222
> ==============================================================================
> --- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/impl/transport/http/ServerHttpHandler.java
     (original)
> +++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/impl/transport/http/ServerHttpHandler.java
     Tue Dec  7 22:00:48 2004
> @@ -180,7 +180,7 @@
>                  parser.setInput(new InputStreamReader(is));
> 
>                  OMXMLParserWrapper parserWrapper = new OMXPPWrapper(parser);
> -                msgContext.setEnvelope((SOAPEnvelope) parserWrapper.getRootElement());
> +                msgContext.setEnvelope((SOAPEnvelope) parserWrapper.getDocumentElement());
>                  EngineRegistry reg = engine.getRegistry();
>                  // invoke the Axis engine
>  //                    engine.recive(msgContext);
> 
> Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/om/OMXMLParserWrapper.java
> Url: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/om/OMXMLParserWrapper.java?view=diff&rev=111222&p1=webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/om/OMXMLParserWrapper.java&r1=111221&p2=webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/om/OMXMLParserWrapper.java&r2=111222
> ==============================================================================
> --- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/om/OMXMLParserWrapper.java
     (original)
> +++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/om/OMXMLParserWrapper.java
     Tue Dec  7 22:00:48 2004
> @@ -63,5 +63,5 @@
>       *
> 
>       * @return
> 
>       */
> 
> -    public OMElement getRootElement();
> 
> +    public OMElement getDocumentElement();
> 
>  }
> 
> Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/om/SOAPBody.java
> Url: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/om/SOAPBody.java?view=diff&rev=111222&p1=webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/om/SOAPBody.java&r1=111221&p2=webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/om/SOAPBody.java&r2=111222
> ==============================================================================
> --- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/om/SOAPBody.java
       (original)
> +++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/om/SOAPBody.java
       Tue Dec  7 22:00:48 2004
> @@ -23,44 +23,44 @@
>   * <P>
> 
>   * B <code>SOAPBody</code> object contains <code>OMBodyBlock</code>
> 
>   * objects, which have the content for the SOAP body.
> 
> - * B <code>OMFault</code> object, which carries status and/or
> 
> + * B <code>SOAPFault</code> object, which carries status and/or
> 
>   * error information, is an example of a <code>OMBodyBlock</code> object.
> 
>   */
> 
>  public interface SOAPBody extends OMElement {
> 
>      /**
> 
> -     * Creates a new <code>OMFault</code> object and adds it to
> 
> +     * Creates a new <code>SOAPFault</code> object and adds it to
> 
>       * this <code>SOAPBody</code> object.
> 
>       *
> 
> -     * @return the new <code>OMFault</code> object
> 
> +     * @return the new <code>SOAPFault</code> object
> 
>       * @throws org.apache.axis.om.OMException if there is a SOAP error
> 
>       */
> 
> -    public abstract OMFault addFault() throws OMException;
> 
> +    public abstract SOAPFault addFault() throws OMException;
> 
>      /**
> 
> -     * Indicates whether a <code>OMFault</code> object exists in
> 
> +     * Indicates whether a <code>SOAPFault</code> object exists in
> 
>       * this <code>SOAPBody</code> object.
> 
>       *
> 
> -     * @return <code>true</code> if a <code>OMFault</code> object
exists in
> 
> +     * @return <code>true</code> if a <code>SOAPFault</code>
object exists in
> 
>       *         this <code>SOAPBody</code> object; <code>false</code>
> 
>       *         otherwise
> 
>       */
> 
>      public abstract boolean hasFault();
> 
>      /**
> 
> -     * Returns the <code>OMFault</code> object in this <code>SOAPBody</code>
> 
> +     * Returns the <code>SOAPFault</code> object in this <code>SOAPBody</code>
> 
>       * object.
> 
>       *
> 
> -     * @return the <code>OMFault</code> object in this <code>SOAPBody</code>
> 
> +     * @return the <code>SOAPFault</code> object in this <code>SOAPBody</code>
> 
>       *         object
> 
>       */
> 
> -    public abstract OMFault getFault();
> 
> +    public abstract SOAPFault getFault();
> 
>      /**
> 
>       * @param soapFault
> 
>       * @throws OMException
> 
>       */
> 
> -    public abstract void addFault(OMFault soapFault) throws OMException;
> 
> +    public abstract void addFault(SOAPFault soapFault) throws OMException;
> 
>  }
> 
> Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/test/org/apache/axis/om/CompareOMWithDOMTest.java
> Url: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/test/org/apache/axis/om/CompareOMWithDOMTest.java?view=diff&rev=111222&p1=webservices/axis/trunk/java/dev/scratch/prototype2/src/test/org/apache/axis/om/CompareOMWithDOMTest.java&r1=111221&p2=webservices/axis/trunk/java/dev/scratch/prototype2/src/test/org/apache/axis/om/CompareOMWithDOMTest.java&r2=111222
> ==============================================================================
> --- webservices/axis/trunk/java/dev/scratch/prototype2/src/test/org/apache/axis/om/CompareOMWithDOMTest.java
   (original)
> +++ webservices/axis/trunk/java/dev/scratch/prototype2/src/test/org/apache/axis/om/CompareOMWithDOMTest.java
   Tue Dec  7 22:00:48 2004
> @@ -42,7 +42,7 @@
>              for(int i = 0;i<files.length;i++){
>                  if(files[i].isFile() && files[i].getName().endsWith(".xml")){
>                      SOAPEnvelope soapEnvelope = (SOAPEnvelope) OMTestUtils.getOMBuilder(
> -                            files[i]).getRootElement();
> +                            files[i]).getDocumentElement();
>                      DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
>                      dbf.setNamespaceAware(true);
>                      DocumentBuilder builder = dbf.newDocumentBuilder();
> 
> Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/test/org/apache/axis/om/MessagesTest.java
> Url: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/test/org/apache/axis/om/MessagesTest.java?view=diff&rev=111222&p1=webservices/axis/trunk/java/dev/scratch/prototype2/src/test/org/apache/axis/om/MessagesTest.java&r1=111221&p2=webservices/axis/trunk/java/dev/scratch/prototype2/src/test/org/apache/axis/om/MessagesTest.java&r2=111222
> ==============================================================================
> --- webservices/axis/trunk/java/dev/scratch/prototype2/src/test/org/apache/axis/om/MessagesTest.java
   (original)
> +++ webservices/axis/trunk/java/dev/scratch/prototype2/src/test/org/apache/axis/om/MessagesTest.java
   Tue Dec  7 22:00:48 2004
> @@ -29,22 +29,22 @@
>      }
> 
>      public void testMessageWithLotOfWhiteSpaces() throws OMException, Exception {
> 
> -        soapEnvelope = (SOAPEnvelope) OMTestUtils.getOMBuilder(getTestResourceFile("soap/whitespacedMessage.xml")).getRootElement();
> 
> +        soapEnvelope = (SOAPEnvelope) OMTestUtils.getOMBuilder(getTestResourceFile("soap/whitespacedMessage.xml")).getDocumentElement();
> 
>          OMTestUtils.walkThrough(soapEnvelope);
> 
>      }
> 
>      public void testMinimalMessage() throws OMException, Exception {
> 
> -        soapEnvelope = (SOAPEnvelope) OMTestUtils.getOMBuilder(getTestResourceFile("soap/minimalMessage.xml")).getRootElement();
> 
> +        soapEnvelope = (SOAPEnvelope) OMTestUtils.getOMBuilder(getTestResourceFile("soap/minimalMessage.xml")).getDocumentElement();
> 
>          OMTestUtils.walkThrough(soapEnvelope);
> 
>      }
> 
>      public void testReallyBigMessage() throws OMException, Exception {
> 
> -        soapEnvelope = (SOAPEnvelope) OMTestUtils.getOMBuilder(getTestResourceFile("soap/reallyReallyBigMessage.xml")).getRootElement();
> 
> +        soapEnvelope = (SOAPEnvelope) OMTestUtils.getOMBuilder(getTestResourceFile("soap/reallyReallyBigMessage.xml")).getDocumentElement();
> 
>          OMTestUtils.walkThrough(soapEnvelope);
> 
>      }
> 
>      public void testEmptyBodiedMessage() throws OMException, Exception {
> 
> -        soapEnvelope = (SOAPEnvelope) OMTestUtils.getOMBuilder(getTestResourceFile("soap/emtyBodymessage.xml")).getRootElement();
> 
> +        soapEnvelope = (SOAPEnvelope) OMTestUtils.getOMBuilder(getTestResourceFile("soap/emtyBodymessage.xml")).getDocumentElement();
> 
>          OMTestUtils.walkThrough(soapEnvelope);
> 
>      }
> 
> Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/test/org/apache/axis/om/OMBodyTest.java
> Url: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/test/org/apache/axis/om/OMBodyTest.java?view=diff&rev=111222&p1=webservices/axis/trunk/java/dev/scratch/prototype2/src/test/org/apache/axis/om/OMBodyTest.java&r1=111221&p2=webservices/axis/trunk/java/dev/scratch/prototype2/src/test/org/apache/axis/om/OMBodyTest.java&r2=111222
> ==============================================================================
> --- webservices/axis/trunk/java/dev/scratch/prototype2/src/test/org/apache/axis/om/OMBodyTest.java
     (original)
> +++ webservices/axis/trunk/java/dev/scratch/prototype2/src/test/org/apache/axis/om/OMBodyTest.java
     Tue Dec  7 22:00:48 2004
> @@ -43,7 +43,7 @@
>      }
> 
>      /*
> 
> -     * Class under test for OMFault addFault()
> 
> +     * Class under test for SOAPFault addFault()
> 
>       */
> 
>      public void testAddFault() {
> 
>          //TODO Implement addFault().
> 
> @@ -66,7 +66,7 @@
>      }
> 
>      /*
> 
> -     * Class under test for void addFault(OMFault)
> 
> +     * Class under test for void addFault(SOAPFault)
> 
>       */
> 
>      public void testAddFaultSOAPFault() {
> 
>          //TODO Implement addFault().
> 
> Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/test/org/apache/axis/om/OMEnvelopeTest.java
> Url: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/test/org/apache/axis/om/OMEnvelopeTest.java?view=diff&rev=111222&p1=webservices/axis/trunk/java/dev/scratch/prototype2/src/test/org/apache/axis/om/OMEnvelopeTest.java&r1=111221&p2=webservices/axis/trunk/java/dev/scratch/prototype2/src/test/org/apache/axis/om/OMEnvelopeTest.java&r2=111222
> ==============================================================================
> --- webservices/axis/trunk/java/dev/scratch/prototype2/src/test/org/apache/axis/om/OMEnvelopeTest.java
 (original)
> +++ webservices/axis/trunk/java/dev/scratch/prototype2/src/test/org/apache/axis/om/OMEnvelopeTest.java
 Tue Dec  7 22:00:48 2004
> @@ -46,7 +46,7 @@
>      }
> 
>      private SOAPEnvelope getSecondEnvelope() throws Exception {
> 
> -        return (SOAPEnvelope) OMTestUtils.getOMBuilder(getTestResourceFile("soap/sample1.xml")).getRootElement();
> 
> +        return (SOAPEnvelope) OMTestUtils.getOMBuilder(getTestResourceFile("soap/sample1.xml")).getDocumentElement();
> 
>      }
> 
>      public void testGetHeader2() throws Exception {
> 
> Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/test/org/apache/axis/om/OMTest.java
> Url: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/test/org/apache/axis/om/OMTest.java?view=diff&rev=111222&p1=webservices/axis/trunk/java/dev/scratch/prototype2/src/test/org/apache/axis/om/OMTest.java&r1=111221&p2=webservices/axis/trunk/java/dev/scratch/prototype2/src/test/org/apache/axis/om/OMTest.java&r2=111222
> ==============================================================================
> --- webservices/axis/trunk/java/dev/scratch/prototype2/src/test/org/apache/axis/om/OMTest.java
 (original)
> +++ webservices/axis/trunk/java/dev/scratch/prototype2/src/test/org/apache/axis/om/OMTest.java
 Tue Dec  7 22:00:48 2004
> @@ -44,7 +44,7 @@
>          XMLStreamReader parser = XMLInputFactory.newInstance().createXMLStreamReader(new
FileReader(file));
>          fac = OMFactory.newInstance();
>          OMXMLParserWrapper builder = new StAXSOAPModelBuilder(fac,parser);
> -        envelope = (SOAPEnvelope) builder.getRootElement();
> +        envelope = (SOAPEnvelope) builder.getDocumentElement();
>      }
> 
> Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/test/org/apache/axis/om/impl/builder/StAXOMBuilderTest.java
> Url: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/test/org/apache/axis/om/impl/builder/StAXOMBuilderTest.java?view=diff&rev=111222&p1=webservices/axis/trunk/java/dev/scratch/prototype2/src/test/org/apache/axis/om/impl/builder/StAXOMBuilderTest.java&r1=111221&p2=webservices/axis/trunk/java/dev/scratch/prototype2/src/test/org/apache/axis/om/impl/builder/StAXOMBuilderTest.java&r2=111222
> ==============================================================================
> --- webservices/axis/trunk/java/dev/scratch/prototype2/src/test/org/apache/axis/om/impl/builder/StAXOMBuilderTest.java
 (original)
> +++ webservices/axis/trunk/java/dev/scratch/prototype2/src/test/org/apache/axis/om/impl/builder/StAXOMBuilderTest.java
 Tue Dec  7 22:00:48 2004
> @@ -50,7 +50,7 @@
>      }
> 
>      public void testGetRootElement() throws Exception {
> 
> -        rootElement = stAXOMBuilder.getRootElement();
> 
> +        rootElement = stAXOMBuilder.getDocumentElement();
> 
>          System.out.println("Checking nullity of Root Element");
> 
>          assertTrue("Root element can not be null", rootElement != null);
> 
>

Mime
View raw message