You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by di...@apache.org on 2005/02/19 04:25:44 UTC

svn commit: r154388 [6/7] - in webservices/axis/trunk/java/modules: core/src/java/org/apache/axis/ core/src/java/org/apache/axis/addressing/ core/src/java/org/apache/axis/addressing/miheaders/ core/src/java/org/apache/axis/addressing/om/ core/src/java/org/apache/axis/clientapi/ core/src/java/org/apache/axis/context/ core/src/java/org/apache/axis/description/ core/src/java/org/apache/axis/engine/ core/src/java/org/apache/axis/handlers/ core/src/java/org/apache/axis/phaseresolver/ core/src/java/org/apache/axis/providers/ core/src/java/org/apache/axis/receivers/ core/src/java/org/apache/axis/transport/ core/src/java/org/apache/axis/transport/http/ core/src/java/org/apache/axis/util/ core/src/test/org/apache/axis/ core/src/test/org/apache/axis/addressing/ core/src/test/org/apache/axis/addressing/miheaders/ core/src/test/org/apache/axis/clientapi/ core/src/test/org/apache/axis/description/ core/src/test/org/apache/axis/engine/ core/src/test/org/apache/axis/misc/ core/src/test/org/apache/axis/transport/ deployment/src/java/org/apache/axis/deployment/ deployment/src/java/org/apache/axis/deployment/listener/ deployment/src/java/org/apache/axis/deployment/repository/utill/ deployment/src/java/org/apache/axis/deployment/scheduler/ deployment/src/samples/deployment/module1/ deployment/src/samples/deployment/module2/ deployment/src/samples/deployment/service1/org/apache/axis/sample/echo/ deployment/src/samples/deployment/service1/org/apache/axis/sample/handlers/ deployment/src/samples/deployment/service2/ deployment/src/test/org/apache/axis/deployment/ om/src/java/org/apache/axis/om/ om/src/java/org/apache/axis/om/impl/llom/ om/src/java/org/apache/axis/om/impl/llom/builder/ om/src/java/org/apache/axis/om/impl/llom/exception/ om/src/java/org/apache/axis/om/impl/llom/factory/ om/src/java/org/apache/axis/om/impl/llom/serialize/ om/src/java/org/apache/axis/om/impl/llom/traverse/ om/src/test/org/apache/axis/om/ om/src/test/org/apache/axis/om/factory/ om/src/test/org/apache/axis/om/impl/builder/ om/src/test/org/apache/axis/om/impl/seriliazer/ om/src/test/org/apache/axis/om/impl/streamwrapper/ om/src/test/org/apache/axis/om/impl/traverse/ samples/src/java/encoding/sample1/ samples/src/java/encoding/sample2/benchMark/ samples/src/java/org/apache/axis/testUtils/ samples/src/java/userguide/sample1/ samples/src/test/org/apache/axis/encoding/ samples/src/test/org/apache/axis/integration/ samples/src/test/org/apache/axis/om/builder/ samples/src/test/org/apache/axis/om/builder/dummy/ wsdl/src/java/org/apache/axis/wsdl/wsdltowom/ wsdl/src/java/org/apache/wsdl/ wsdl/src/java/org/apache/wsdl/impl/ wsdl/src/java/org/apache/wsdl/util/ wsdl/src/test/org/apache/wsdl/

Modified: webservices/axis/trunk/java/modules/om/src/test/org/apache/axis/om/impl/builder/StAXOMBuilderTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/om/src/test/org/apache/axis/om/impl/builder/StAXOMBuilderTest.java?view=diff&r1=154387&r2=154388
==============================================================================
--- webservices/axis/trunk/java/modules/om/src/test/org/apache/axis/om/impl/builder/StAXOMBuilderTest.java (original)
+++ webservices/axis/trunk/java/modules/om/src/test/org/apache/axis/om/impl/builder/StAXOMBuilderTest.java Fri Feb 18 19:24:49 2005
@@ -1,24 +1,20 @@
-package org.apache.axis.om.impl.builder;
-
-/**
- * Copyright 2001-2004 The Apache Software Foundation.
- * <p/>
+/*
+ * Copyright 2004,2005 The Apache Software Foundation.
+ * 
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
- * <p/>
- * http://www.apache.org/licenses/LICENSE-2.0
- * <p/>
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
- * <p/>
- * User: Eran Chinthaka - Lanka Software Foundation
- * Date: Dec 7, 2004
- * Time: 2:29:07 PM
  */
+ 
+package org.apache.axis.om.impl.builder;
 
 import org.apache.axis.om.AbstractTestCase;
 import org.apache.axis.om.OMElement;
@@ -58,7 +54,6 @@
         while (omnode instanceof OMText) {
             omnode = omnode.getNextSibling();
         }
-
         Iterator children = ((OMElement) omnode).getChildren();
         int childrenCount = 0;
         while (children.hasNext()) {

Modified: webservices/axis/trunk/java/modules/om/src/test/org/apache/axis/om/impl/seriliazer/ElementSerializerTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/om/src/test/org/apache/axis/om/impl/seriliazer/ElementSerializerTest.java?view=diff&r1=154387&r2=154388
==============================================================================
--- webservices/axis/trunk/java/modules/om/src/test/org/apache/axis/om/impl/seriliazer/ElementSerializerTest.java (original)
+++ webservices/axis/trunk/java/modules/om/src/test/org/apache/axis/om/impl/seriliazer/ElementSerializerTest.java Fri Feb 18 19:24:49 2005
@@ -1,14 +1,21 @@
+/*
+ * Copyright 2004,2005 The Apache Software Foundation.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+ 
 package org.apache.axis.om.impl.seriliazer;
 
-import java.io.File;
-import java.io.FileOutputStream;
-import java.io.FileReader;
-
-import javax.xml.stream.XMLInputFactory;
-import javax.xml.stream.XMLOutputFactory;
-import javax.xml.stream.XMLStreamReader;
-import javax.xml.stream.XMLStreamWriter;
-
 import org.apache.axis.om.AbstractTestCase;
 import org.apache.axis.om.OMElement;
 import org.apache.axis.om.OMFactory;
@@ -20,22 +27,14 @@
 import org.apache.axis.om.SOAPEnvelope;
 import org.apache.axis.om.impl.llom.factory.OMXMLBuilderFactory;
 
+import javax.xml.stream.XMLInputFactory;
+import javax.xml.stream.XMLOutputFactory;
+import javax.xml.stream.XMLStreamReader;
+import javax.xml.stream.XMLStreamWriter;
+import java.io.File;
+import java.io.FileOutputStream;
+import java.io.FileReader;
 
-/**
- * Copyright 2001-2004 The Apache Software Foundation.
- * <p/>
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- * <p/>
- * http://www.apache.org/licenses/LICENSE-2.0
- * <p/>
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 public class ElementSerializerTest extends AbstractTestCase {
     private XMLStreamReader reader;
     private XMLStreamWriter writer;
@@ -99,13 +98,11 @@
         OMFactory factory = OMFactory.newInstance();
         OMNamespace ns1 = factory.createOMNamespace("bar", "x");
         OMNamespace ns2 = factory.createOMNamespace("bar", "y");
-
         OMElement root = factory.createOMElement("root", ns1);
         OMElement elt11 = factory.createOMElement("foo1", ns1);
         OMElement elt12 = factory.createOMElement("foo2", ns1);
         OMElement elt21 = factory.createOMElement("yuck", ns2);
         OMElement elt22 = factory.createOMElement("yuck", ns2);
-
         elt11.addChild(elt21);
         elt12.addChild(elt22);
         root.addChild(elt11);
@@ -115,18 +112,15 @@
 
     public void testDualNamespaces2() throws Exception {
         OMFactory factory = OMFactory.newInstance();
-
         OMNamespace ns1 = factory.createOMNamespace("bar", "x");
         OMElement root = factory.createOMElement("root", ns1);
         OMNamespace ns2 = root.declareNamespace("bar", "y");
         OMElement elt1 = factory.createOMElement("foo", ns1);
         OMElement elt2 = factory.createOMElement("yuck", ns2);
         OMText txt1 = factory.createText(elt2, "blah");
-
         elt2.addChild(txt1);
         elt1.addChild(elt2);
         root.addChild(elt1);
-
         root.serialize(writer, true);
     }
 

Modified: webservices/axis/trunk/java/modules/om/src/test/org/apache/axis/om/impl/seriliazer/OMSerailizerTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/om/src/test/org/apache/axis/om/impl/seriliazer/OMSerailizerTest.java?view=diff&r1=154387&r2=154388
==============================================================================
--- webservices/axis/trunk/java/modules/om/src/test/org/apache/axis/om/impl/seriliazer/OMSerailizerTest.java (original)
+++ webservices/axis/trunk/java/modules/om/src/test/org/apache/axis/om/impl/seriliazer/OMSerailizerTest.java Fri Feb 18 19:24:49 2005
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2004,2005 The Apache Software Foundation.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+ 
 package org.apache.axis.om.impl.seriliazer;
 
 import org.apache.axis.om.AbstractTestCase;
@@ -16,24 +32,7 @@
 import java.io.FileOutputStream;
 import java.io.FileReader;
 
-
-/**
- * Copyright 2001-2004 The Apache Software Foundation.
- * <p/>
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- * <p/>
- * http://www.apache.org/licenses/LICENSE-2.0
- * <p/>
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 public class OMSerailizerTest extends AbstractTestCase {
-
     private XMLStreamReader reader;
     private XMLStreamWriter writer;
     private File tempFile;
@@ -48,8 +47,8 @@
         tempFile = File.createTempFile("temp", "xml");
         writer = XMLOutputFactory.newInstance().
                 createXMLStreamWriter(new FileOutputStream(tempFile));
-//        writer = XMLOutputFactory.newInstance().
-//                createXMLStreamWriter(System.out);
+        //        writer = XMLOutputFactory.newInstance().
+        //                createXMLStreamWriter(System.out);
     }
 
     public void testRawSerializer() throws Exception {
@@ -81,10 +80,8 @@
         SOAPEnvelope env = (SOAPEnvelope) builder.getDocumentElement();
         SOAPBody body = env.getBody();
         StreamingOMSerializer serializer = new StreamingOMSerializer();
-
         serializer.serialize(body.getPullParser(false), writer);
     }
-
 
     protected void tearDown() throws Exception {
         writer.flush();

Modified: webservices/axis/trunk/java/modules/om/src/test/org/apache/axis/om/impl/streamwrapper/OMStaxStreamingWrapperTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/om/src/test/org/apache/axis/om/impl/streamwrapper/OMStaxStreamingWrapperTest.java?view=diff&r1=154387&r2=154388
==============================================================================
--- webservices/axis/trunk/java/modules/om/src/test/org/apache/axis/om/impl/streamwrapper/OMStaxStreamingWrapperTest.java (original)
+++ webservices/axis/trunk/java/modules/om/src/test/org/apache/axis/om/impl/streamwrapper/OMStaxStreamingWrapperTest.java Fri Feb 18 19:24:49 2005
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2004,2005 The Apache Software Foundation.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+ 
 package org.apache.axis.om.impl.streamwrapper;
 
 import org.apache.axis.om.AbstractTestCase;
@@ -11,23 +27,7 @@
 import java.io.File;
 import java.io.FileReader;
 
-/**
- * Copyright 2001-2004 The Apache Software Foundation.
- * <p/>
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- * <p/>
- * http://www.apache.org/licenses/LICENSE-2.0
- * <p/>
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 public class OMStaxStreamingWrapperTest extends AbstractTestCase {
-
     private SOAPEnvelope envelope = null;
     private File tempFile;
     private XMLStreamReader parser;
@@ -38,28 +38,26 @@
 
     protected void setUp() throws Exception {
         XMLStreamReader xmlStreamReader = XMLInputFactory.newInstance().
-                createXMLStreamReader(new FileReader(getTestResourceFile("soap/soapmessage1.xml")));
+                        createXMLStreamReader(new FileReader(getTestResourceFile("soap/soapmessage1.xml")));
         OMXMLParserWrapper builder = OMXMLBuilderFactory.createStAXSOAPModelBuilder(OMFactory.newInstance(), xmlStreamReader);
-
         envelope = (SOAPEnvelope) builder.getDocumentElement();
-
         tempFile = File.createTempFile("temp", "xml");
 
     }
 
 
-//    public void testWrapperFullOM() throws Exception {
-//        assertNotNull(envelope);
-//        //this serializing will cause the OM to fully build!
-//        XMLStreamWriter writer = XMLOutputFactory.newInstance().createXMLStreamWriter(new FileOutputStream(tempFile));
-//        envelope.serialize(writer,true);
-//        parser = envelope.getPullParser(false);
-//        while (parser.hasNext()) {
-//            int event = parser.next();
-//            assertTrue(event > 0);
-//        }
-//
-//    }
+    //    public void testWrapperFullOM() throws Exception {
+    //        assertNotNull(envelope);
+    //        //this serializing will cause the OM to fully build!
+    //        XMLStreamWriter writer = XMLOutputFactory.newInstance().createXMLStreamWriter(new FileOutputStream(tempFile));
+    //        envelope.serialize(writer,true);
+    //        parser = envelope.getPullParser(false);
+    //        while (parser.hasNext()) {
+    //            int event = parser.next();
+    //            assertTrue(event > 0);
+    //        }
+    //
+    //    }
 
     public void testWrapperHalfOM() throws Exception {
         assertNotNull(envelope);
@@ -70,156 +68,156 @@
         }
     }
 
-//    public void testWrapperHalfOMWithCacheOff() throws Exception {
-//        assertNotNull(envelope);
-//        parser = envelope.getPullParser(true);
-//        while (parser.hasNext()) {
-//            int event = parser.next();
-//            assertTrue(event > 0);
-//        }
-//    }
-//
-//    public void testWrapperElementEventGenerationWithHalfOMWithCacheOff() throws XMLStreamException {
-//        assertNotNull(envelope);
-//        parser = envelope.getPullParser(true);
-//        while (parser.hasNext()) {
-//            int event = parser.next();
-//            assertTrue(event > 0);
-//            if (event == XMLStreamConstants.START_ELEMENT) {
-//                checkStartElement(parser);
-//            } else if (event == XMLStreamConstants.CHARACTERS) {
-//                checkCharacters(parser);
-//            }
-//        }
-//
-//
-//    }
-//
-//    public void testWrapperElementEventGenerationWithHalfOM() throws Exception {
-//        assertNotNull(envelope);
-//        parser = envelope.getPullParser(false);
-//        while (parser.hasNext()) {
-//            int event = parser.next();
-//            assertTrue(event > 0);
-//            if (event == XMLStreamConstants.START_ELEMENT) {
-//                checkStartElement(parser);
-//            } else if (event == XMLStreamConstants.CHARACTERS) {
-//                checkCharacters(parser);
-//            }
-//        }
-//
-//
-//    }
-//
-//    private void checkCharacters(XMLStreamReader wrapper) {
-//        assertFalse(wrapper.isStartElement());
-//        assertFalse(wrapper.isEndElement());
-//        assertFalse(wrapper.isWhiteSpace());
-//        assertFalse(wrapper.hasName());
-//        assertTrue(wrapper.isCharacters());
-//
-//        assertNotNull(wrapper.getText());
-//        assertTrue(wrapper.getTextLength() > 0);
-//    }
-//
-//    private void checkStartElement(XMLStreamReader wrapper) {
-//        assertTrue(wrapper.isStartElement());
-//        assertTrue(wrapper.hasName());
-//        assertFalse(wrapper.isEndElement());
-//        assertFalse(wrapper.isCharacters());
-//        assertFalse(wrapper.isWhiteSpace());
-//
-//        //at the start element event these need to be supplied
-//        assertNotNull(wrapper.getLocalName());
-//        assertNotNull(wrapper.getName());
-//        assertNotNull(wrapper.getNamespaceURI());
-//        //prefix may be null
-//        wrapper.getPrefix();
-//
-//        //todo add the other checks here
-//        int attribCount = wrapper.getAttributeCount();
-//        for (int i = 0; i < attribCount; i++) {
-//            assertNotNull(wrapper.getAttributeLocalName(i));
-//            assertNotNull(wrapper.getAttributeValue(i));
-//            assertNotNull(wrapper.getAttributeName(i));
-//            wrapper.getAttributePrefix(i);
-//            wrapper.getAttributeNamespace(i);
-//            //todo add the other checks here
-//        }
-//
-//
-//    }
-//
-//    public void testWrapperElementEventGenerationWithHalfOMWithCacheOff() throws XMLStreamException {
-//        assertNotNull(envelope);
-//        parser = envelope.getPullParser(true);
-//        while (parser.hasNext()) {
-//            int event = parser.next();
-//            assertTrue(event > 0);
-//            if (event == XMLStreamConstants.START_ELEMENT) {
-//                checkStartElement(parser);
-//            } else if (event == XMLStreamConstants.CHARACTERS) {
-//                checkCharacters(parser);
-//            }
-//        }
-//
-//
-//    }
-//
-//    public void testWrapperElementEventGenerationWithHalfOM() throws Exception {
-//        assertNotNull(envelope);
-//        parser = envelope.getPullParser(false);
-//        while (parser.hasNext()) {
-//            int event = parser.next();
-//            assertTrue(event > 0);
-//            if (event == XMLStreamConstants.START_ELEMENT) {
-//                checkStartElement(parser);
-//            } else if (event == XMLStreamConstants.CHARACTERS) {
-//                checkCharacters(parser);
-//            }
-//        }
-//
-//
-//    }
-//
-//    private void checkCharacters(XMLStreamReader wrapper) {
-//        assertFalse(wrapper.isStartElement());
-//        assertFalse(wrapper.isEndElement());
-//        assertFalse(wrapper.isWhiteSpace());
-//        assertFalse(wrapper.hasName());
-//        assertTrue(wrapper.isCharacters());
-//
-//        assertNotNull(wrapper.getText());
-//        assertTrue(wrapper.getTextLength() > 0);
-//    }
-//
-//    private void checkStartElement(XMLStreamReader wrapper) {
-//        assertTrue(wrapper.isStartElement());
-//        assertTrue(wrapper.hasName());
-//        assertFalse(wrapper.isEndElement());
-//        assertFalse(wrapper.isCharacters());
-//        assertFalse(wrapper.isWhiteSpace());
-//
-//        //at the start element event these need to be supplied
-//        assertNotNull(wrapper.getLocalName());
-//        assertNotNull(wrapper.getName());
-//        assertNotNull(wrapper.getNamespaceURI());
-//        //prefix may be null
-//        wrapper.getPrefix();
-//
-//        //todo add the other checks here
-//        int attribCount = wrapper.getAttributeCount();
-//        for (int i = 0; i < attribCount; i++) {
-//            assertNotNull(wrapper.getAttributeLocalName(i));
-//            assertNotNull(wrapper.getAttributeValue(i));
-//            assertNotNull(wrapper.getAttributeName(i));
-//            wrapper.getAttributePrefix(i);
-//            wrapper.getAttributeNamespace(i);
-//            //todo add the other checks here
-//        }
-//
-//
-//    }
+    //    public void testWrapperHalfOMWithCacheOff() throws Exception {
+    //        assertNotNull(envelope);
+    //        parser = envelope.getPullParser(true);
+    //        while (parser.hasNext()) {
+    //            int event = parser.next();
+    //            assertTrue(event > 0);
+    //        }
+    //    }
+    //
+    //    public void testWrapperElementEventGenerationWithHalfOMWithCacheOff() throws XMLStreamException {
+    //        assertNotNull(envelope);
+    //        parser = envelope.getPullParser(true);
+    //        while (parser.hasNext()) {
+    //            int event = parser.next();
+    //            assertTrue(event > 0);
+    //            if (event == XMLStreamConstants.START_ELEMENT) {
+    //                checkStartElement(parser);
+    //            } else if (event == XMLStreamConstants.CHARACTERS) {
+    //                checkCharacters(parser);
+    //            }
+    //        }
+    //
+    //
+    //    }
+    //
+    //    public void testWrapperElementEventGenerationWithHalfOM() throws Exception {
+    //        assertNotNull(envelope);
+    //        parser = envelope.getPullParser(false);
+    //        while (parser.hasNext()) {
+    //            int event = parser.next();
+    //            assertTrue(event > 0);
+    //            if (event == XMLStreamConstants.START_ELEMENT) {
+    //                checkStartElement(parser);
+    //            } else if (event == XMLStreamConstants.CHARACTERS) {
+    //                checkCharacters(parser);
+    //            }
+    //        }
+    //
+    //
+    //    }
+    //
+    //    private void checkCharacters(XMLStreamReader wrapper) {
+    //        assertFalse(wrapper.isStartElement());
+    //        assertFalse(wrapper.isEndElement());
+    //        assertFalse(wrapper.isWhiteSpace());
+    //        assertFalse(wrapper.hasName());
+    //        assertTrue(wrapper.isCharacters());
+    //
+    //        assertNotNull(wrapper.getText());
+    //        assertTrue(wrapper.getTextLength() > 0);
+    //    }
+    //
+    //    private void checkStartElement(XMLStreamReader wrapper) {
+    //        assertTrue(wrapper.isStartElement());
+    //        assertTrue(wrapper.hasName());
+    //        assertFalse(wrapper.isEndElement());
+    //        assertFalse(wrapper.isCharacters());
+    //        assertFalse(wrapper.isWhiteSpace());
+    //
+    //        //at the start element event these need to be supplied
+    //        assertNotNull(wrapper.getLocalName());
+    //        assertNotNull(wrapper.getName());
+    //        assertNotNull(wrapper.getNamespaceURI());
+    //        //prefix may be null
+    //        wrapper.getPrefix();
+    //
+    //        //todo add the other checks here
+    //        int attribCount = wrapper.getAttributeCount();
+    //        for (int i = 0; i < attribCount; i++) {
+    //            assertNotNull(wrapper.getAttributeLocalName(i));
+    //            assertNotNull(wrapper.getAttributeValue(i));
+    //            assertNotNull(wrapper.getAttributeName(i));
+    //            wrapper.getAttributePrefix(i);
+    //            wrapper.getAttributeNamespace(i);
+    //            //todo add the other checks here
+    //        }
+    //
+    //
+    //    }
+    //
+    //    public void testWrapperElementEventGenerationWithHalfOMWithCacheOff() throws XMLStreamException {
+    //        assertNotNull(envelope);
+    //        parser = envelope.getPullParser(true);
+    //        while (parser.hasNext()) {
+    //            int event = parser.next();
+    //            assertTrue(event > 0);
+    //            if (event == XMLStreamConstants.START_ELEMENT) {
+    //                checkStartElement(parser);
+    //            } else if (event == XMLStreamConstants.CHARACTERS) {
+    //                checkCharacters(parser);
+    //            }
+    //        }
+    //
+    //
+    //    }
+    //
+    //    public void testWrapperElementEventGenerationWithHalfOM() throws Exception {
+    //        assertNotNull(envelope);
+    //        parser = envelope.getPullParser(false);
+    //        while (parser.hasNext()) {
+    //            int event = parser.next();
+    //            assertTrue(event > 0);
+    //            if (event == XMLStreamConstants.START_ELEMENT) {
+    //                checkStartElement(parser);
+    //            } else if (event == XMLStreamConstants.CHARACTERS) {
+    //                checkCharacters(parser);
+    //            }
+    //        }
+    //
+    //
+    //    }
+    //
+    //    private void checkCharacters(XMLStreamReader wrapper) {
+    //        assertFalse(wrapper.isStartElement());
+    //        assertFalse(wrapper.isEndElement());
+    //        assertFalse(wrapper.isWhiteSpace());
+    //        assertFalse(wrapper.hasName());
+    //        assertTrue(wrapper.isCharacters());
+    //
+    //        assertNotNull(wrapper.getText());
+    //        assertTrue(wrapper.getTextLength() > 0);
+    //    }
+    //
+    //    private void checkStartElement(XMLStreamReader wrapper) {
+    //        assertTrue(wrapper.isStartElement());
+    //        assertTrue(wrapper.hasName());
+    //        assertFalse(wrapper.isEndElement());
+    //        assertFalse(wrapper.isCharacters());
+    //        assertFalse(wrapper.isWhiteSpace());
+    //
+    //        //at the start element event these need to be supplied
+    //        assertNotNull(wrapper.getLocalName());
+    //        assertNotNull(wrapper.getName());
+    //        assertNotNull(wrapper.getNamespaceURI());
+    //        //prefix may be null
+    //        wrapper.getPrefix();
+    //
+    //        //todo add the other checks here
+    //        int attribCount = wrapper.getAttributeCount();
+    //        for (int i = 0; i < attribCount; i++) {
+    //            assertNotNull(wrapper.getAttributeLocalName(i));
+    //            assertNotNull(wrapper.getAttributeValue(i));
+    //            assertNotNull(wrapper.getAttributeName(i));
+    //            wrapper.getAttributePrefix(i);
+    //            wrapper.getAttributeNamespace(i);
+    //            //todo add the other checks here
+    //        }
+    //
+    //
+    //    }
 
 
     protected void tearDown() throws Exception {

Modified: webservices/axis/trunk/java/modules/om/src/test/org/apache/axis/om/impl/streamwrapper/OmStAXBuilderTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/om/src/test/org/apache/axis/om/impl/streamwrapper/OmStAXBuilderTest.java?view=diff&r1=154387&r2=154388
==============================================================================
--- webservices/axis/trunk/java/modules/om/src/test/org/apache/axis/om/impl/streamwrapper/OmStAXBuilderTest.java (original)
+++ webservices/axis/trunk/java/modules/om/src/test/org/apache/axis/om/impl/streamwrapper/OmStAXBuilderTest.java Fri Feb 18 19:24:49 2005
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2004,2005 The Apache Software Foundation.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+ 
 package org.apache.axis.om.impl.streamwrapper;
 
 import org.apache.axis.om.AbstractTestCase;
@@ -14,23 +30,7 @@
 import java.io.FileOutputStream;
 import java.io.FileReader;
 
-/**
- * Copyright 2001-2004 The Apache Software Foundation.
- * <p/>
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- * <p/>
- * http://www.apache.org/licenses/LICENSE-2.0
- * <p/>
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 public class OmStAXBuilderTest extends AbstractTestCase {
-
     private OMFactory factory = null;
     private OMXMLParserWrapper builder;
     private File tempFile;
@@ -42,17 +42,16 @@
     protected void setUp() throws Exception {
         factory = OMFactory.newInstance();
         XMLStreamReader reader = XMLInputFactory.newInstance().
-                createXMLStreamReader(new FileReader(getTestResourceFile("soap/soapmessage.xml")));
+                        createXMLStreamReader(new FileReader(getTestResourceFile("soap/soapmessage.xml")));
         builder = OMXMLBuilderFactory.createStAXSOAPModelBuilder(factory, reader);
         tempFile = File.createTempFile("temp", "xml");
     }
 
     public void testStaxBuilder() throws Exception {
-
         SOAPEnvelope envelope = (SOAPEnvelope) builder.getDocumentElement();
         assertNotNull(envelope);
         XMLStreamWriter writer = XMLOutputFactory.newInstance().createXMLStreamWriter(new FileOutputStream(tempFile));
-//        XMLStreamWriter writer = XMLOutputFactory.newInstance().createXMLStreamWriter(System.out);
+        //        XMLStreamWriter writer = XMLOutputFactory.newInstance().createXMLStreamWriter(System.out);
         envelope.serialize(writer, true);
 
 

Modified: webservices/axis/trunk/java/modules/om/src/test/org/apache/axis/om/impl/traverse/OMChildrenWithSpecificAttributeIteratorTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/om/src/test/org/apache/axis/om/impl/traverse/OMChildrenWithSpecificAttributeIteratorTest.java?view=diff&r1=154387&r2=154388
==============================================================================
--- webservices/axis/trunk/java/modules/om/src/test/org/apache/axis/om/impl/traverse/OMChildrenWithSpecificAttributeIteratorTest.java (original)
+++ webservices/axis/trunk/java/modules/om/src/test/org/apache/axis/om/impl/traverse/OMChildrenWithSpecificAttributeIteratorTest.java Fri Feb 18 19:24:49 2005
@@ -1,60 +1,45 @@
-/**
- * Copyright 2001-2004 The Apache Software Foundation.
- * <p/>
+/*
+ * Copyright 2004,2005 The Apache Software Foundation.
+ * 
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
- * <p/>
- * http://www.apache.org/licenses/LICENSE-2.0
- * <p/>
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
- * <p/>
- * Author: Eran Chinthaka - Lanka Software Foundation
- * Date: Dec 23, 2004
- * Time: 12:22:56 PM
  */
+ 
 package org.apache.axis.om.impl.traverse;
 
-import java.io.ByteArrayInputStream;
-import java.util.Iterator;
-
-import javax.xml.namespace.QName;
-
-//import org.apache.axis.addressing.AddressingConstants;
 import org.apache.axis.om.OMConstants;
 import org.apache.axis.om.OMTestCase;
-import org.apache.axis.om.SOAPHeader;
-import org.apache.axis.om.SOAPHeaderBlock;
-import org.apache.axis.om.impl.llom.traverse.OMChildrenWithSpecificAttributeIterator;
-
 
 public class OMChildrenWithSpecificAttributeIteratorTest extends OMTestCase implements OMConstants {
-
     private String sampleSOAPMessage = "<soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:wsa=\"http://schemas.xmlsoap.org/ws/2004/03/addressing\">\n" +
-            "    <soapenv:Header>\n" +
-            "        <wsa:MessageID soapenv:mustUnderstand=\"1\">uuid:920C5190-0B8F-11D9-8CED-F22EDEEBF7E5</wsa:MessageID>\n" +
-            "        <wsa:To soapenv:mustUnderstand=\"0\">http://localhost:8081/axis/services/BankPort</wsa:To>\n" +
-            "        <wsa:From soapenv:mustUnderstand=\"1\">\n" +
-            "            <Address xmlns=\"http://schemas.xmlsoap.org/ws/2004/03/addressing\">http://schemas.xmlsoap.org/ws/2004/03/addressing/role/anonymous</Address>\n" +
-            "        </wsa:From>\n" +
-            "    </soapenv:Header>\n" +
-            "    <soapenv:Body>\n" +
-            "        <axis2:echoVoid xmlns:axis2=\"http://ws.apache.org/axis2\" ></axis2:echoVoid>\n" +
-            "    </soapenv:Body>\n" +
-            "</soapenv:Envelope>";
+                    "    <soapenv:Header>\n" +
+                    "        <wsa:MessageID soapenv:mustUnderstand=\"1\">uuid:920C5190-0B8F-11D9-8CED-F22EDEEBF7E5</wsa:MessageID>\n" +
+                    "        <wsa:To soapenv:mustUnderstand=\"0\">http://localhost:8081/axis/services/BankPort</wsa:To>\n" +
+                    "        <wsa:From soapenv:mustUnderstand=\"1\">\n" +
+                    "            <Address xmlns=\"http://schemas.xmlsoap.org/ws/2004/03/addressing\">http://schemas.xmlsoap.org/ws/2004/03/addressing/role/anonymous</Address>\n" +
+                    "        </wsa:From>\n" +
+                    "    </soapenv:Header>\n" +
+                    "    <soapenv:Body>\n" +
+                    "        <axis2:echoVoid xmlns:axis2=\"http://ws.apache.org/axis2\" ></axis2:echoVoid>\n" +
+                    "    </soapenv:Body>\n" +
+                    "</soapenv:Envelope>";
 
     public OMChildrenWithSpecificAttributeIteratorTest(String testName) {
         super(testName);
     }
 
-
     public static void main(String[] args) {
         junit.textui.TestRunner
-                .run(OMChildrenWithSpecificAttributeIteratorTest.class);
+        .run(OMChildrenWithSpecificAttributeIteratorTest.class);
     }
 
     /*
@@ -65,47 +50,47 @@
     }
 
     public void testChildrenRetrievalWithNoDetach() {
- //       try {
-//            soapEnvelope = getOMBuilder(new ByteArrayInputStream(sampleSOAPMessage.getBytes())).getSOAPEnvelope();
-//            SOAPHeader soapHeader = soapEnvelope.getHeader();
-//
-//            // getting header blocks with mustUnderstand="0"
-//            OMChildrenWithSpecificAttributeIterator iter = new OMChildrenWithSpecificAttributeIterator(soapHeader.getFirstChild(), new QName(SOAP_ENVELOPE_NAMESPACE_URI, ATTR_MUSTUNDERSTAND), "0", false);
-//
-//            if (iter.hasNext()) {
-//                SOAPHeaderBlock soapHeaderBlock = (SOAPHeaderBlock) iter.next();
-//                assertEquals("Header Block with mustUnderstand=\")0\" has not been retrieved properly", soapHeaderBlock.getLocalName(), AddressingConstants.WSA_TO);
-//            }
-//
-//            if (iter.hasNext()) {
-//                fail("Given sample SOAP doesn't have more than one mustunderstand false header blocks");
-//            }
-//
-//
-//        } catch (Exception e) {
-//            e.printStackTrace();
-//            fail("Something has gone wrong in accessing the test xml file");
-//        }
+        //       try {
+        //            soapEnvelope = getOMBuilder(new ByteArrayInputStream(sampleSOAPMessage.getBytes())).getSOAPEnvelope();
+        //            SOAPHeader soapHeader = soapEnvelope.getHeader();
+        //
+        //            // getting header blocks with mustUnderstand="0"
+        //            OMChildrenWithSpecificAttributeIterator iter = new OMChildrenWithSpecificAttributeIterator(soapHeader.getFirstChild(), new QName(SOAP_ENVELOPE_NAMESPACE_URI, ATTR_MUSTUNDERSTAND), "0", false);
+        //
+        //            if (iter.hasNext()) {
+        //                SOAPHeaderBlock soapHeaderBlock = (SOAPHeaderBlock) iter.next();
+        //                assertEquals("Header Block with mustUnderstand=\")0\" has not been retrieved properly", soapHeaderBlock.getLocalName(), AddressingConstants.WSA_TO);
+        //            }
+        //
+        //            if (iter.hasNext()) {
+        //                fail("Given sample SOAP doesn't have more than one mustunderstand false header blocks");
+        //            }
+        //
+        //
+        //        } catch (Exception e) {
+        //            e.printStackTrace();
+        //            fail("Something has gone wrong in accessing the test xml file");
+        //        }
     }
 
     public void testChildrenRetrievalWithDetach() throws Exception {
-//        soapEnvelope = getOMBuilder(new ByteArrayInputStream(sampleSOAPMessage.getBytes())).getSOAPEnvelope();
-//        SOAPHeader soapHeader = soapEnvelope.getHeader();
-//
-//        OMChildrenWithSpecificAttributeIterator iter = new OMChildrenWithSpecificAttributeIterator(soapHeader.getFirstChild(), new QName(SOAP_ENVELOPE_NAMESPACE_URI, ATTR_MUSTUNDERSTAND), "0", true);
-//        if (iter.hasNext()) {
-//            SOAPHeaderBlock soapHeaderBlock = (SOAPHeaderBlock) iter.next();
-//            assertEquals("Header Block with mustUnderstand=\")0\" has not been retrieved properly", soapHeaderBlock.getLocalName(), AddressingConstants.WSA_TO);
-//        }
-//
-//        Iterator soapHeaderChildrenIter = soapHeader.getChildren();
-//        int childrenCount = 0;
-//        while (soapHeaderChildrenIter.hasNext()) {
-//            Object o = soapHeaderChildrenIter.next();
-//            childrenCount++;
-//        }
-//
-//        assertEquals("OMChildrenWithSpecificAttributeIterator with detach true, not working properly", childrenCount, 6); // here this 6 includes white spaces as OMText
+        //        soapEnvelope = getOMBuilder(new ByteArrayInputStream(sampleSOAPMessage.getBytes())).getSOAPEnvelope();
+        //        SOAPHeader soapHeader = soapEnvelope.getHeader();
+        //
+        //        OMChildrenWithSpecificAttributeIterator iter = new OMChildrenWithSpecificAttributeIterator(soapHeader.getFirstChild(), new QName(SOAP_ENVELOPE_NAMESPACE_URI, ATTR_MUSTUNDERSTAND), "0", true);
+        //        if (iter.hasNext()) {
+        //            SOAPHeaderBlock soapHeaderBlock = (SOAPHeaderBlock) iter.next();
+        //            assertEquals("Header Block with mustUnderstand=\")0\" has not been retrieved properly", soapHeaderBlock.getLocalName(), AddressingConstants.WSA_TO);
+        //        }
+        //
+        //        Iterator soapHeaderChildrenIter = soapHeader.getChildren();
+        //        int childrenCount = 0;
+        //        while (soapHeaderChildrenIter.hasNext()) {
+        //            Object o = soapHeaderChildrenIter.next();
+        //            childrenCount++;
+        //        }
+        //
+        //        assertEquals("OMChildrenWithSpecificAttributeIterator with detach true, not working properly", childrenCount, 6); // here this 6 includes white spaces as OMText
 
     }
 

Modified: webservices/axis/trunk/java/modules/samples/src/java/encoding/sample1/Collecter.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/src/java/encoding/sample1/Collecter.java?view=diff&r1=154387&r2=154388
==============================================================================
--- webservices/axis/trunk/java/modules/samples/src/java/encoding/sample1/Collecter.java (original)
+++ webservices/axis/trunk/java/modules/samples/src/java/encoding/sample1/Collecter.java Fri Feb 18 19:24:49 2005
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2004,2005 The Apache Software Foundation.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+ 
 package encoding.sample1;
 import java.io.FileWriter;
 import java.io.IOException;

Modified: webservices/axis/trunk/java/modules/samples/src/java/encoding/sample1/EchoImpl.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/src/java/encoding/sample1/EchoImpl.java?view=diff&r1=154387&r2=154388
==============================================================================
--- webservices/axis/trunk/java/modules/samples/src/java/encoding/sample1/EchoImpl.java (original)
+++ webservices/axis/trunk/java/modules/samples/src/java/encoding/sample1/EchoImpl.java Fri Feb 18 19:24:49 2005
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2004,2005 The Apache Software Foundation.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+ 
 package encoding.sample1;
 /**
  * Echo.java

Modified: webservices/axis/trunk/java/modules/samples/src/java/encoding/sample1/EchoProvider.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/src/java/encoding/sample1/EchoProvider.java?view=diff&r1=154387&r2=154388
==============================================================================
--- webservices/axis/trunk/java/modules/samples/src/java/encoding/sample1/EchoProvider.java (original)
+++ webservices/axis/trunk/java/modules/samples/src/java/encoding/sample1/EchoProvider.java Fri Feb 18 19:24:49 2005
@@ -1,9 +1,19 @@
-/*
- * Created on Jan 29, 2005
- *
- * To change the template for this generated file go to
- * Window&gt;Preferences&gt;Java&gt;Code Generation&gt;Code and Comments
- */
+/*
+ * Copyright 2004,2005 The Apache Software Foundation.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+ 
 package encoding.sample1;
 import java.lang.reflect.Method;
 

Modified: webservices/axis/trunk/java/modules/samples/src/java/encoding/sample1/EchoStruct.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/src/java/encoding/sample1/EchoStruct.java?view=diff&r1=154387&r2=154388
==============================================================================
--- webservices/axis/trunk/java/modules/samples/src/java/encoding/sample1/EchoStruct.java (original)
+++ webservices/axis/trunk/java/modules/samples/src/java/encoding/sample1/EchoStruct.java Fri Feb 18 19:24:49 2005
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2004,2005 The Apache Software Foundation.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+ 
 package encoding.sample1;
 /**
  * EchoStruct.java

Modified: webservices/axis/trunk/java/modules/samples/src/java/encoding/sample1/EchoStructEncoder.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/src/java/encoding/sample1/EchoStructEncoder.java?view=diff&r1=154387&r2=154388
==============================================================================
--- webservices/axis/trunk/java/modules/samples/src/java/encoding/sample1/EchoStructEncoder.java (original)
+++ webservices/axis/trunk/java/modules/samples/src/java/encoding/sample1/EchoStructEncoder.java Fri Feb 18 19:24:49 2005
@@ -1,9 +1,19 @@
-/*
- * Created on Jan 29, 2005
- *
- * To change the template for this generated file go to
- * Window&gt;Preferences&gt;Java&gt;Code Generation&gt;Code and Comments
- */
+/*
+ * Copyright 2004,2005 The Apache Software Foundation.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+ 
 package encoding.sample1;
 import java.io.IOException;
 

Modified: webservices/axis/trunk/java/modules/samples/src/java/encoding/sample1/EchoStub.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/src/java/encoding/sample1/EchoStub.java?view=diff&r1=154387&r2=154388
==============================================================================
--- webservices/axis/trunk/java/modules/samples/src/java/encoding/sample1/EchoStub.java (original)
+++ webservices/axis/trunk/java/modules/samples/src/java/encoding/sample1/EchoStub.java Fri Feb 18 19:24:49 2005
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2004,2005 The Apache Software Foundation.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+ 
 package encoding.sample1;
 import javax.xml.stream.XMLStreamConstants;
 import javax.xml.stream.XMLStreamReader;

Modified: webservices/axis/trunk/java/modules/samples/src/java/encoding/sample1/EndToEndTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/src/java/encoding/sample1/EndToEndTest.java?view=diff&r1=154387&r2=154388
==============================================================================
--- webservices/axis/trunk/java/modules/samples/src/java/encoding/sample1/EndToEndTest.java (original)
+++ webservices/axis/trunk/java/modules/samples/src/java/encoding/sample1/EndToEndTest.java Fri Feb 18 19:24:49 2005
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2004,2005 The Apache Software Foundation.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+ 
 package encoding.sample1;
 import java.io.FileWriter;
 import java.io.IOException;

Modified: webservices/axis/trunk/java/modules/samples/src/java/encoding/sample1/LoadIncreaseTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/src/java/encoding/sample1/LoadIncreaseTest.java?view=diff&r1=154387&r2=154388
==============================================================================
--- webservices/axis/trunk/java/modules/samples/src/java/encoding/sample1/LoadIncreaseTest.java (original)
+++ webservices/axis/trunk/java/modules/samples/src/java/encoding/sample1/LoadIncreaseTest.java Fri Feb 18 19:24:49 2005
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2004,2005 The Apache Software Foundation.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+ 
 package encoding.sample1;
 import java.io.FileWriter;
 import java.io.IOException;

Modified: webservices/axis/trunk/java/modules/samples/src/java/encoding/sample1/LoadTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/src/java/encoding/sample1/LoadTest.java?view=diff&r1=154387&r2=154388
==============================================================================
--- webservices/axis/trunk/java/modules/samples/src/java/encoding/sample1/LoadTest.java (original)
+++ webservices/axis/trunk/java/modules/samples/src/java/encoding/sample1/LoadTest.java Fri Feb 18 19:24:49 2005
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2004,2005 The Apache Software Foundation.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+ 
 package encoding.sample1;
 import java.io.FileWriter;
 import java.io.IOException;

Modified: webservices/axis/trunk/java/modules/samples/src/java/encoding/sample1/Sampler.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/src/java/encoding/sample1/Sampler.java?view=diff&r1=154387&r2=154388
==============================================================================
--- webservices/axis/trunk/java/modules/samples/src/java/encoding/sample1/Sampler.java (original)
+++ webservices/axis/trunk/java/modules/samples/src/java/encoding/sample1/Sampler.java Fri Feb 18 19:24:49 2005
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2004,2005 The Apache Software Foundation.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+ 
 package encoding.sample1;
 import javax.xml.stream.XMLStreamConstants;
 import javax.xml.stream.XMLStreamReader;

Modified: webservices/axis/trunk/java/modules/samples/src/java/encoding/sample2/benchMark/BenchProvider.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/src/java/encoding/sample2/benchMark/BenchProvider.java?view=diff&r1=154387&r2=154388
==============================================================================
--- webservices/axis/trunk/java/modules/samples/src/java/encoding/sample2/benchMark/BenchProvider.java (original)
+++ webservices/axis/trunk/java/modules/samples/src/java/encoding/sample2/benchMark/BenchProvider.java Fri Feb 18 19:24:49 2005
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2004,2005 The Apache Software Foundation.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+ 
 package encoding.sample2.benchMark;
 
 import java.lang.reflect.Method;

Modified: webservices/axis/trunk/java/modules/samples/src/java/encoding/sample2/benchMark/Benchmark1Impl.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/src/java/encoding/sample2/benchMark/Benchmark1Impl.java?view=diff&r1=154387&r2=154388
==============================================================================
--- webservices/axis/trunk/java/modules/samples/src/java/encoding/sample2/benchMark/Benchmark1Impl.java (original)
+++ webservices/axis/trunk/java/modules/samples/src/java/encoding/sample2/benchMark/Benchmark1Impl.java Fri Feb 18 19:24:49 2005
@@ -1,10 +1,19 @@
-/**
- * Benchmark1Impl.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.2beta Apr 25, 2004 (11:37:32 EST) WSDL2Java emitter.
- */
-
+/*
+ * Copyright 2004,2005 The Apache Software Foundation.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+ 
 package encoding.sample2.benchMark;
 
 public class Benchmark1Impl implements Benchmark1PortType{

Modified: webservices/axis/trunk/java/modules/samples/src/java/encoding/sample2/benchMark/Benchmark1PortType.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/src/java/encoding/sample2/benchMark/Benchmark1PortType.java?view=diff&r1=154387&r2=154388
==============================================================================
--- webservices/axis/trunk/java/modules/samples/src/java/encoding/sample2/benchMark/Benchmark1PortType.java (original)
+++ webservices/axis/trunk/java/modules/samples/src/java/encoding/sample2/benchMark/Benchmark1PortType.java Fri Feb 18 19:24:49 2005
@@ -1,10 +1,19 @@
-/**
- * Benchmark1PortType.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.2beta May 11, 2004 (03:05:50 EST) WSDL2Java emitter.
- */
-
+/*
+ * Copyright 2004,2005 The Apache Software Foundation.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+ 
 package encoding.sample2.benchMark;
 
 public interface Benchmark1PortType extends java.rmi.Remote {

Modified: webservices/axis/trunk/java/modules/samples/src/java/org/apache/axis/testUtils/ArrayTypeEncoder.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/src/java/org/apache/axis/testUtils/ArrayTypeEncoder.java?view=diff&r1=154387&r2=154388
==============================================================================
--- webservices/axis/trunk/java/modules/samples/src/java/org/apache/axis/testUtils/ArrayTypeEncoder.java (original)
+++ webservices/axis/trunk/java/modules/samples/src/java/org/apache/axis/testUtils/ArrayTypeEncoder.java Fri Feb 18 19:24:49 2005
@@ -1,18 +1,19 @@
-/*
- * Copyright 2003,2004 The Apache Software Foundation.
- * 
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- * 
- *      http://www.apache.org/licenses/LICENSE-2.0
- * 
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
+/*
+ * Copyright 2004,2005 The Apache Software Foundation.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+ 
 package org.apache.axis.testUtils;
 
 import org.apache.axis.engine.AxisFault;

Modified: webservices/axis/trunk/java/modules/samples/src/java/org/apache/axis/testUtils/Encoder.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/src/java/org/apache/axis/testUtils/Encoder.java?view=diff&r1=154387&r2=154388
==============================================================================
--- webservices/axis/trunk/java/modules/samples/src/java/org/apache/axis/testUtils/Encoder.java (original)
+++ webservices/axis/trunk/java/modules/samples/src/java/org/apache/axis/testUtils/Encoder.java Fri Feb 18 19:24:49 2005
@@ -1,19 +1,19 @@
-/*
- * Copyright 2001-2004 The Apache Software Foundation.
- * 
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- * 
- *      http://www.apache.org/licenses/LICENSE-2.0
- * 
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
+/*
+ * Copyright 2004,2005 The Apache Software Foundation.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+ 
 package org.apache.axis.testUtils;
 
 import org.apache.axis.engine.AxisFault;

Modified: webservices/axis/trunk/java/modules/samples/src/java/org/apache/axis/testUtils/ObjectToOMBuilder.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/src/java/org/apache/axis/testUtils/ObjectToOMBuilder.java?view=diff&r1=154387&r2=154388
==============================================================================
--- webservices/axis/trunk/java/modules/samples/src/java/org/apache/axis/testUtils/ObjectToOMBuilder.java (original)
+++ webservices/axis/trunk/java/modules/samples/src/java/org/apache/axis/testUtils/ObjectToOMBuilder.java Fri Feb 18 19:24:49 2005
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2004,2005 The Apache Software Foundation.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+ 
 package org.apache.axis.testUtils;
 
 import org.apache.axis.om.*;
@@ -11,22 +27,6 @@
 import java.util.ArrayList;
 import java.util.List;
 
-/**
- * Copyright 2001-2004 The Apache Software Foundation.
- * <p/>
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- * <p/>
- * http://www.apache.org/licenses/LICENSE-2.0
- * <p/>
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * <p/>`
- */
 public class ObjectToOMBuilder implements OMXMLParserWrapper, ContentHandler {
     private Log log = LogFactory.getLog(getClass());
     private Encoder outObject;

Modified: webservices/axis/trunk/java/modules/samples/src/java/org/apache/axis/testUtils/SimpleJavaProvider.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/src/java/org/apache/axis/testUtils/SimpleJavaProvider.java?view=diff&r1=154387&r2=154388
==============================================================================
--- webservices/axis/trunk/java/modules/samples/src/java/org/apache/axis/testUtils/SimpleJavaProvider.java (original)
+++ webservices/axis/trunk/java/modules/samples/src/java/org/apache/axis/testUtils/SimpleJavaProvider.java Fri Feb 18 19:24:49 2005
@@ -1,5 +1,5 @@
 /*
- * Copyright 2001-2004 The Apache Software Foundation.
+ * Copyright 2004,2005 The Apache Software Foundation.
  * 
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -13,7 +13,7 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-
+ 
 package org.apache.axis.testUtils;
 
 import org.apache.axis.Constants;

Modified: webservices/axis/trunk/java/modules/samples/src/java/org/apache/axis/testUtils/SimpleTypeEncoder.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/src/java/org/apache/axis/testUtils/SimpleTypeEncoder.java?view=diff&r1=154387&r2=154388
==============================================================================
--- webservices/axis/trunk/java/modules/samples/src/java/org/apache/axis/testUtils/SimpleTypeEncoder.java (original)
+++ webservices/axis/trunk/java/modules/samples/src/java/org/apache/axis/testUtils/SimpleTypeEncoder.java Fri Feb 18 19:24:49 2005
@@ -1,18 +1,19 @@
-/*
-* Copyright 2003,2004 The Apache Software Foundation.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-*      http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
+/*
+ * Copyright 2004,2005 The Apache Software Foundation.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+ 
 package org.apache.axis.testUtils;
 
 import org.apache.axis.engine.AxisFault;

Modified: webservices/axis/trunk/java/modules/samples/src/java/org/apache/axis/testUtils/SimpleTypeEncodingUtils.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/src/java/org/apache/axis/testUtils/SimpleTypeEncodingUtils.java?view=diff&r1=154387&r2=154388
==============================================================================
--- webservices/axis/trunk/java/modules/samples/src/java/org/apache/axis/testUtils/SimpleTypeEncodingUtils.java (original)
+++ webservices/axis/trunk/java/modules/samples/src/java/org/apache/axis/testUtils/SimpleTypeEncodingUtils.java Fri Feb 18 19:24:49 2005
@@ -1,18 +1,19 @@
-/*
- * Copyright 2003,2004 The Apache Software Foundation.
- * 
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- * 
- *      http://www.apache.org/licenses/LICENSE-2.0
- * 
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
+/*
+ * Copyright 2004,2005 The Apache Software Foundation.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+ 
 package org.apache.axis.testUtils;
 
 import org.apache.axis.engine.AxisFault;

Modified: webservices/axis/trunk/java/modules/samples/src/java/userguide/sample1/EchoXML.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/src/java/userguide/sample1/EchoXML.java?view=diff&r1=154387&r2=154388
==============================================================================
--- webservices/axis/trunk/java/modules/samples/src/java/userguide/sample1/EchoXML.java (original)
+++ webservices/axis/trunk/java/modules/samples/src/java/userguide/sample1/EchoXML.java Fri Feb 18 19:24:49 2005
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2004,2005 The Apache Software Foundation.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+ 
 package userguide.sample1;
 import org.apache.axis.om.OMElement;
 

Modified: webservices/axis/trunk/java/modules/samples/src/java/userguide/sample1/SynchronousClient.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/src/java/userguide/sample1/SynchronousClient.java?view=diff&r1=154387&r2=154388
==============================================================================
--- webservices/axis/trunk/java/modules/samples/src/java/userguide/sample1/SynchronousClient.java (original)
+++ webservices/axis/trunk/java/modules/samples/src/java/userguide/sample1/SynchronousClient.java Fri Feb 18 19:24:49 2005
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2004,2005 The Apache Software Foundation.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+ 
 package userguide.sample1;
 import java.net.MalformedURLException;
 import java.net.URL;
@@ -16,23 +32,6 @@
 import org.apache.axis.om.OMFactory;
 import org.apache.axis.om.OMNamespace;
 import org.apache.axis.om.SOAPEnvelope;
-
-/*
- * Copyright 2001-2004 The Apache Software Foundation.
- * 
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- * 
- *      http://www.apache.org/licenses/LICENSE-2.0
- * 
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
 
 public class SynchronousClient {
 	

Modified: webservices/axis/trunk/java/modules/samples/src/test/org/apache/axis/encoding/EncodingTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/src/test/org/apache/axis/encoding/EncodingTest.java?view=diff&r1=154387&r2=154388
==============================================================================
--- webservices/axis/trunk/java/modules/samples/src/test/org/apache/axis/encoding/EncodingTest.java (original)
+++ webservices/axis/trunk/java/modules/samples/src/test/org/apache/axis/encoding/EncodingTest.java Fri Feb 18 19:24:49 2005
@@ -1,18 +1,19 @@
-/*
- * Copyright 2003,2004 The Apache Software Foundation.
- * 
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- * 
- *      http://www.apache.org/licenses/LICENSE-2.0
- * 
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
+/*
+ * Copyright 2004,2005 The Apache Software Foundation.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+ 
 package org.apache.axis.encoding;
 
 import java.lang.reflect.Method;

Modified: webservices/axis/trunk/java/modules/samples/src/test/org/apache/axis/integration/Constants.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/src/test/org/apache/axis/integration/Constants.java?view=diff&r1=154387&r2=154388
==============================================================================
--- webservices/axis/trunk/java/modules/samples/src/test/org/apache/axis/integration/Constants.java (original)
+++ webservices/axis/trunk/java/modules/samples/src/test/org/apache/axis/integration/Constants.java Fri Feb 18 19:24:49 2005
@@ -1,9 +1,19 @@
-/*
- * Created on Feb 18, 2005
- *
- * To change the template for this generated file go to
- * Window&gt;Preferences&gt;Java&gt;Code Generation&gt;Code and Comments
- */
+/*
+ * Copyright 2004,2005 The Apache Software Foundation.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+ 
 package org.apache.axis.integration;
 
 /**

Modified: webservices/axis/trunk/java/modules/samples/src/test/org/apache/axis/integration/EchoTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/src/test/org/apache/axis/integration/EchoTest.java?view=diff&r1=154387&r2=154388
==============================================================================
--- webservices/axis/trunk/java/modules/samples/src/test/org/apache/axis/integration/EchoTest.java (original)
+++ webservices/axis/trunk/java/modules/samples/src/test/org/apache/axis/integration/EchoTest.java Fri Feb 18 19:24:49 2005
@@ -1,19 +1,19 @@
-/*
- * Copyright 2003,2004 The Apache Software Foundation.
- * 
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- * 
- *      http://www.apache.org/licenses/LICENSE-2.0
- * 
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
+/*
+ * Copyright 2004,2005 The Apache Software Foundation.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+ 
 package org.apache.axis.integration;
 
 import java.io.File;

Modified: webservices/axis/trunk/java/modules/samples/src/test/org/apache/axis/integration/UtilServer.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/src/test/org/apache/axis/integration/UtilServer.java?view=diff&r1=154387&r2=154388
==============================================================================
--- webservices/axis/trunk/java/modules/samples/src/test/org/apache/axis/integration/UtilServer.java (original)
+++ webservices/axis/trunk/java/modules/samples/src/test/org/apache/axis/integration/UtilServer.java Fri Feb 18 19:24:49 2005
@@ -1,19 +1,19 @@
-/*
- * Copyright 2003,2004 The Apache Software Foundation.
- * 
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- * 
- *      http://www.apache.org/licenses/LICENSE-2.0
- * 
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
+/*
+ * Copyright 2004,2005 The Apache Software Foundation.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+ 
 package org.apache.axis.integration;
 
 import java.net.ServerSocket;

Modified: webservices/axis/trunk/java/modules/samples/src/test/org/apache/axis/om/builder/ObjectToOMBuilderTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/src/test/org/apache/axis/om/builder/ObjectToOMBuilderTest.java?view=diff&r1=154387&r2=154388
==============================================================================
--- webservices/axis/trunk/java/modules/samples/src/test/org/apache/axis/om/builder/ObjectToOMBuilderTest.java (original)
+++ webservices/axis/trunk/java/modules/samples/src/test/org/apache/axis/om/builder/ObjectToOMBuilderTest.java Fri Feb 18 19:24:49 2005
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2004,2005 The Apache Software Foundation.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+ 
 package org.apache.axis.om.builder;
 
 import java.io.File;
@@ -18,25 +34,6 @@
 import org.apache.axis.testUtils.Encoder;
 import org.apache.axis.testUtils.ObjectToOMBuilder;
 
-/**
- * Copyright 2001-2004 The Apache Software Foundation.
- * <p/>
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- * <p/>
- * http://www.apache.org/licenses/LICENSE-2.0
- * <p/>
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * <p/>
- * User: Eran Chinthaka - Lanka Software Foundation
- * Date: Nov 19, 2004
- * Time: 3:54:03 PM
- */
 public class ObjectToOMBuilderTest extends TestCase {
 
     private Encoder outObject;

Modified: webservices/axis/trunk/java/modules/samples/src/test/org/apache/axis/om/builder/dummy/DummyOutObject.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/src/test/org/apache/axis/om/builder/dummy/DummyOutObject.java?view=diff&r1=154387&r2=154388
==============================================================================
--- webservices/axis/trunk/java/modules/samples/src/test/org/apache/axis/om/builder/dummy/DummyOutObject.java (original)
+++ webservices/axis/trunk/java/modules/samples/src/test/org/apache/axis/om/builder/dummy/DummyOutObject.java Fri Feb 18 19:24:49 2005
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2004,2005 The Apache Software Foundation.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+ 
 package org.apache.axis.om.builder.dummy;
 
 import java.io.FileReader;
@@ -14,25 +30,6 @@
 import org.xml.sax.SAXException;
 import org.xml.sax.XMLReader;
 
-/**
- * Copyright 2001-2004 The Apache Software Foundation.
- * <p/>
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- * <p/>
- * http://www.apache.org/licenses/LICENSE-2.0
- * <p/>
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * <p/>
- * User: Eran Chinthaka - Lanka Software Foundation
- * Date: Nov 19, 2004
- * Time: 3:56:08 PM
- */
 public class DummyOutObject implements Encoder {
     private XMLReader parser;
     String fileName = "src/test-resources/soapmessage.xml";

Modified: webservices/axis/trunk/java/modules/wsdl/src/java/org/apache/axis/wsdl/wsdltowom/WOMBuilder.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/wsdl/src/java/org/apache/axis/wsdl/wsdltowom/WOMBuilder.java?view=diff&r1=154387&r2=154388
==============================================================================
--- webservices/axis/trunk/java/modules/wsdl/src/java/org/apache/axis/wsdl/wsdltowom/WOMBuilder.java (original)
+++ webservices/axis/trunk/java/modules/wsdl/src/java/org/apache/axis/wsdl/wsdltowom/WOMBuilder.java Fri Feb 18 19:24:49 2005
@@ -1,5 +1,5 @@
 /*
- * Copyright 2001-2004 The Apache Software Foundation.
+ * Copyright 2004,2005 The Apache Software Foundation.
  * 
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -13,6 +13,7 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
+ 
 package org.apache.axis.wsdl.wsdltowom;
 
 import org.apache.wsdl.WSDLDescription;

Modified: webservices/axis/trunk/java/modules/wsdl/src/java/org/apache/axis/wsdl/wsdltowom/WOMBuilderFactory.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/wsdl/src/java/org/apache/axis/wsdl/wsdltowom/WOMBuilderFactory.java?view=diff&r1=154387&r2=154388
==============================================================================
--- webservices/axis/trunk/java/modules/wsdl/src/java/org/apache/axis/wsdl/wsdltowom/WOMBuilderFactory.java (original)
+++ webservices/axis/trunk/java/modules/wsdl/src/java/org/apache/axis/wsdl/wsdltowom/WOMBuilderFactory.java Fri Feb 18 19:24:49 2005
@@ -1,5 +1,5 @@
 /*
- * Copyright 2001-2004 The Apache Software Foundation.
+ * Copyright 2004,2005 The Apache Software Foundation.
  * 
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -13,6 +13,7 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
+ 
 package org.apache.axis.wsdl.wsdltowom;
 
 import org.apache.wsdl.WSDLConstants;

Modified: webservices/axis/trunk/java/modules/wsdl/src/java/org/apache/axis/wsdl/wsdltowom/WSDL1ToWOMBuilder.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/wsdl/src/java/org/apache/axis/wsdl/wsdltowom/WSDL1ToWOMBuilder.java?view=diff&r1=154387&r2=154388
==============================================================================
--- webservices/axis/trunk/java/modules/wsdl/src/java/org/apache/axis/wsdl/wsdltowom/WSDL1ToWOMBuilder.java (original)
+++ webservices/axis/trunk/java/modules/wsdl/src/java/org/apache/axis/wsdl/wsdltowom/WSDL1ToWOMBuilder.java Fri Feb 18 19:24:49 2005
@@ -1,5 +1,5 @@
 /*
- * Copyright 2001-2004 The Apache Software Foundation.
+ * Copyright 2004,2005 The Apache Software Foundation.
  * 
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -13,6 +13,7 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
+ 
 package org.apache.axis.wsdl.wsdltowom;
 
 import org.apache.wsdl.WSDLDescription;

Modified: webservices/axis/trunk/java/modules/wsdl/src/java/org/apache/axis/wsdl/wsdltowom/WSDL2ToWOMBuilder.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/wsdl/src/java/org/apache/axis/wsdl/wsdltowom/WSDL2ToWOMBuilder.java?view=diff&r1=154387&r2=154388
==============================================================================
--- webservices/axis/trunk/java/modules/wsdl/src/java/org/apache/axis/wsdl/wsdltowom/WSDL2ToWOMBuilder.java (original)
+++ webservices/axis/trunk/java/modules/wsdl/src/java/org/apache/axis/wsdl/wsdltowom/WSDL2ToWOMBuilder.java Fri Feb 18 19:24:49 2005
@@ -1,11 +1,11 @@
 /*
- * Copyright 2001-2004 The apace Software Foundation.
+ * Copyright 2004,2005 The Apache Software Foundation.
  * 
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
  * 
- *      tap://www.apache.org/licenses/LICENSE-2.0
+ *      http://www.apache.org/licenses/LICENSE-2.0
  * 
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
@@ -13,6 +13,7 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
+ 
 package org.apache.axis.wsdl.wsdltowom;
 
 import org.apache.wsdl.WSDLDescription;

Modified: webservices/axis/trunk/java/modules/wsdl/src/java/org/apache/axis/wsdl/wsdltowom/WSDL4JtoWOMPump.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/wsdl/src/java/org/apache/axis/wsdl/wsdltowom/WSDL4JtoWOMPump.java?view=diff&r1=154387&r2=154388
==============================================================================
--- webservices/axis/trunk/java/modules/wsdl/src/java/org/apache/axis/wsdl/wsdltowom/WSDL4JtoWOMPump.java (original)
+++ webservices/axis/trunk/java/modules/wsdl/src/java/org/apache/axis/wsdl/wsdltowom/WSDL4JtoWOMPump.java Fri Feb 18 19:24:49 2005
@@ -1,5 +1,5 @@
 /*
- * Copyright 2001-2004 The Apache Software Foundation.
+ * Copyright 2004,2005 The Apache Software Foundation.
  * 
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -13,6 +13,7 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
+ 
 package org.apache.axis.wsdl.wsdltowom;
 
 import org.apache.wsdl.WSDLBinding;