You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by de...@apache.org on 2006/12/20 13:23:42 UTC

svn commit: r489066 [17/24] - in /webservices/axis2/branches/java/1_1/modules: adb-codegen/ adb-codegen/src/org/apache/axis2/schema/ adb-codegen/src/org/apache/axis2/schema/i18n/ adb-codegen/src/org/apache/axis2/schema/template/ adb-codegen/test-resour...

Modified: webservices/axis2/branches/java/1_1/modules/integration/test/org/apache/axis2/mail/mail-enabled-axis2.xml
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/integration/test/org/apache/axis2/mail/mail-enabled-axis2.xml?view=diff&rev=489066&r1=489065&r2=489066
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/integration/test/org/apache/axis2/mail/mail-enabled-axis2.xml (original)
+++ webservices/axis2/branches/java/1_1/modules/integration/test/org/apache/axis2/mail/mail-enabled-axis2.xml Wed Dec 20 04:23:24 2006
@@ -1,3 +1,20 @@
+<!--
+/*
+ * 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.
+ */
+ -->
 <axisconfig name="AxisJava2.0">
     <!-- ================================================= -->
     <!-- Parameters -->

Modified: webservices/axis2/branches/java/1_1/modules/integration/test/org/apache/axis2/mail/mail-enabled-client-axis2.xml
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/integration/test/org/apache/axis2/mail/mail-enabled-client-axis2.xml?view=diff&rev=489066&r1=489065&r2=489066
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/integration/test/org/apache/axis2/mail/mail-enabled-client-axis2.xml (original)
+++ webservices/axis2/branches/java/1_1/modules/integration/test/org/apache/axis2/mail/mail-enabled-client-axis2.xml Wed Dec 20 04:23:24 2006
@@ -1,3 +1,20 @@
+<!--
+/*
+ * 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.
+ */
+ -->
 <axisconfig name="AxisJava2.0">
     <!-- ================================================= -->
     <!-- Parameters -->

Modified: webservices/axis2/branches/java/1_1/modules/integration/test/org/apache/axis2/mail/mail-enabled-server-axis2.xml
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/integration/test/org/apache/axis2/mail/mail-enabled-server-axis2.xml?view=diff&rev=489066&r1=489065&r2=489066
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/integration/test/org/apache/axis2/mail/mail-enabled-server-axis2.xml (original)
+++ webservices/axis2/branches/java/1_1/modules/integration/test/org/apache/axis2/mail/mail-enabled-server-axis2.xml Wed Dec 20 04:23:24 2006
@@ -1,3 +1,20 @@
+<!--
+/*
+ * 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.
+ */
+ -->
 <axisconfig name="AxisJava2.0">
     <!-- ================================================= -->
     <!-- Parameters -->

Modified: webservices/axis2/branches/java/1_1/modules/integration/test/samples/wsdl/bench/Benchmark.wsdl
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/integration/test/samples/wsdl/bench/Benchmark.wsdl?view=diff&rev=489066&r1=489065&r2=489066
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/integration/test/samples/wsdl/bench/Benchmark.wsdl (original)
+++ webservices/axis2/branches/java/1_1/modules/integration/test/samples/wsdl/bench/Benchmark.wsdl Wed Dec 20 04:23:24 2006
@@ -1,4 +1,21 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!--
+/*
+ * 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.
+ */
+ -->
 <wsdl:definitions xmlns:impl="http://www.extreme.indiana.edu/wsdl/Benchmark1" xmlns:intf="http://www.extreme.indiana.edu/wsdl/Benchmark1" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" targetNamespace="http://www.extreme.indiana.edu/wsdl/Benchmark1">
 	<wsdl:types>
 		<schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.extreme.indiana.edu/wsdl/Benchmark1" elementFormDefault="qualified">

Modified: webservices/axis2/branches/java/1_1/modules/integration/test/samples/wsdl/perf/perf.wsdl
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/integration/test/samples/wsdl/perf/perf.wsdl?view=diff&rev=489066&r1=489065&r2=489066
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/integration/test/samples/wsdl/perf/perf.wsdl (original)
+++ webservices/axis2/branches/java/1_1/modules/integration/test/samples/wsdl/perf/perf.wsdl Wed Dec 20 04:23:24 2006
@@ -1,4 +1,21 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!--
+/*
+ * 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.
+ */
+ -->
 <wsdl:definitions xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="http://perf.wsdl.samples" xmlns:intf="http://perf.wsdl.samples" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://perf.wsdl.samples">
 	<wsdl:types>
 		<schema elementFormDefault="qualified" targetNamespace="http://perf.wsdl.samples" xmlns="http://www.w3.org/2001/XMLSchema">

Modified: webservices/axis2/branches/java/1_1/modules/integration/test/samples/wsdl/perf2/perf.wsdl
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/integration/test/samples/wsdl/perf2/perf.wsdl?view=diff&rev=489066&r1=489065&r2=489066
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/integration/test/samples/wsdl/perf2/perf.wsdl (original)
+++ webservices/axis2/branches/java/1_1/modules/integration/test/samples/wsdl/perf2/perf.wsdl Wed Dec 20 04:23:24 2006
@@ -1,4 +1,21 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!--
+/*
+ * 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.
+ */
+ -->
 <wsdl:definitions xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="http://perf2.wsdl.samples" xmlns:intf="http://perf2.wsdl.samples" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://perf2.wsdl.samples">
 	<wsdl:types>
 		<schema elementFormDefault="qualified" targetNamespace="http://perf2.wsdl.samples" xmlns="http://www.w3.org/2001/XMLSchema">

Modified: webservices/axis2/branches/java/1_1/modules/java2wsdl/maven.xml
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/java2wsdl/maven.xml?view=diff&rev=489066&r1=489065&r2=489066
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/java2wsdl/maven.xml (original)
+++ webservices/axis2/branches/java/1_1/modules/java2wsdl/maven.xml Wed Dec 20 04:23:24 2006
@@ -1,4 +1,21 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!--
+/*
+ * 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.
+ */
+ -->
 
 <!-- $Revision: 1.21 $ $Date: 2004-10-27 20:54:09 +0600 (Wed, 27 Oct 2004) $ -->
 

Modified: webservices/axis2/branches/java/1_1/modules/jaxbri/maven.xml
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/jaxbri/maven.xml?view=diff&rev=489066&r1=489065&r2=489066
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/jaxbri/maven.xml (original)
+++ webservices/axis2/branches/java/1_1/modules/jaxbri/maven.xml Wed Dec 20 04:23:24 2006
@@ -1,17 +1,33 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!-- $Revision: 1.21 $ $Date: 2004-10-27 20:54:09 +0600 (Wed, 27 Oct 2004) $ -->
-
-<project default="jar"
-    xmlns:j="jelly:core"
-    xmlns:u="jelly:util"
-    xmlns:maven="jelly:maven"
-    xmlns:deploy="deploy"
-    xmlns:ant="jelly:ant">
-    <preGoal name="itest:compile">
-        <u:file var="file" name="${maven.itest.src}"/>
-        <j:if test="${!file.exists()}">
-            <j:expr value="${context.setVariable('maven.itest.skip', 'true')}"/>
-        </j:if>
-    </preGoal>
-</project>
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+/*
+ * 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.
+ */
+ -->
+<!-- $Revision: 1.21 $ $Date: 2004-10-27 20:54:09 +0600 (Wed, 27 Oct 2004) $ -->
+
+<project default="jar"
+    xmlns:j="jelly:core"
+    xmlns:u="jelly:util"
+    xmlns:maven="jelly:maven"
+    xmlns:deploy="deploy"
+    xmlns:ant="jelly:ant">
+    <preGoal name="itest:compile">
+        <u:file var="file" name="${maven.itest.src}"/>
+        <j:if test="${!file.exists()}">
+            <j:expr value="${context.setVariable('maven.itest.skip', 'true')}"/>
+        </j:if>
+    </preGoal>
+</project>

Modified: webservices/axis2/branches/java/1_1/modules/jibx/maven.xml
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/jibx/maven.xml?view=diff&rev=489066&r1=489065&r2=489066
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/jibx/maven.xml (original)
+++ webservices/axis2/branches/java/1_1/modules/jibx/maven.xml Wed Dec 20 04:23:24 2006
@@ -1,29 +1,45 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!-- $Revision: 1.21 $ $Date: 2004-10-27 20:54:09 +0600 (Wed, 27 Oct 2004) $ -->
-
-<project default="jar"
-    xmlns:j="jelly:core"
-    xmlns:u="jelly:util"
-    xmlns:maven="jelly:maven"
-    xmlns:deploy="deploy"
-    xmlns:ant="jelly:ant">
-    
-    <preGoal name="itest:compile">
-        <u:file var="file" name="${maven.itest.src}"/>
-        <j:if test="${!file.exists()}">
-            <j:expr value="${context.setVariable('maven.itest.skip', 'true')}"/>
-        </j:if>
-    </preGoal>
-
-    <!-- run the JiBX binding compiler after the Java compiler -->
-    <preGoal name="test:test">
-      <java classname="org.jibx.binding.Compile" fork="true">
-        	<classpath refid="maven.dependency.classpath"/>
-        	<classpath location="target/test-classes"/>
-          <arg value="test-resources/binding/customer-binding.xml"/>
-          <arg value="test-resources/binding/library-binding.xml"/>
-      </java> 
-    </preGoal>
-    
-</project>
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+/*
+ * 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.
+ */
+ -->
+<!-- $Revision: 1.21 $ $Date: 2004-10-27 20:54:09 +0600 (Wed, 27 Oct 2004) $ -->
+
+<project default="jar"
+    xmlns:j="jelly:core"
+    xmlns:u="jelly:util"
+    xmlns:maven="jelly:maven"
+    xmlns:deploy="deploy"
+    xmlns:ant="jelly:ant">
+    
+    <preGoal name="itest:compile">
+        <u:file var="file" name="${maven.itest.src}"/>
+        <j:if test="${!file.exists()}">
+            <j:expr value="${context.setVariable('maven.itest.skip', 'true')}"/>
+        </j:if>
+    </preGoal>
+
+    <!-- run the JiBX binding compiler after the Java compiler -->
+    <preGoal name="test:test">
+      <java classname="org.jibx.binding.Compile" fork="true">
+        	<classpath refid="maven.dependency.classpath"/>
+        	<classpath location="target/test-classes"/>
+          <arg value="test-resources/binding/customer-binding.xml"/>
+          <arg value="test-resources/binding/library-binding.xml"/>
+      </java> 
+    </preGoal>
+    
+</project>

Modified: webservices/axis2/branches/java/1_1/modules/jibx/src/org/apache/axis2/jibx/NullBindingFactory.java
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/jibx/src/org/apache/axis2/jibx/NullBindingFactory.java?view=diff&rev=489066&r1=489065&r2=489066
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/jibx/src/org/apache/axis2/jibx/NullBindingFactory.java (original)
+++ webservices/axis2/branches/java/1_1/modules/jibx/src/org/apache/axis2/jibx/NullBindingFactory.java Wed Dec 20 04:23:24 2006
@@ -1,56 +1,72 @@
-package org.apache.axis2.jibx;
-
-import org.jibx.runtime.IBindingFactory;
-import org.jibx.runtime.IMarshallingContext;
-import org.jibx.runtime.IUnmarshallingContext;
-import org.jibx.runtime.JiBXException;
-import org.jibx.runtime.impl.MarshallingContext;
-import org.jibx.runtime.impl.UnmarshallingContext;
-
-public class NullBindingFactory implements IBindingFactory {
-    
-    private static final String[] EMPTY_STRINGS = new String[0];
-    
-    public IMarshallingContext createMarshallingContext() throws JiBXException {
-        return new MarshallingContext(EMPTY_STRINGS, EMPTY_STRINGS, EMPTY_STRINGS, this);
-    }
-
-    public IUnmarshallingContext createUnmarshallingContext()
-        throws JiBXException {
-        return new UnmarshallingContext(0, EMPTY_STRINGS, EMPTY_STRINGS, EMPTY_STRINGS, EMPTY_STRINGS, this);
-    }
-
-    public String getCompilerDistribution() {
-        // normally only used by BindingDirectory code, so okay to punt
-        return "";
-    }
-
-    public int getCompilerVersion() {
-        // normally only used by BindingDirectory code, so okay to punt
-        return 0;
-    }
-
-    public String[] getElementNames() {
-        return EMPTY_STRINGS;
-    }
-
-    public String[] getElementNamespaces() {
-        return EMPTY_STRINGS;
-    }
-
-    public String[] getMappedClasses() {
-        return EMPTY_STRINGS;
-    }
-
-    public String[] getNamespaces() {
-        return EMPTY_STRINGS;
-    }
-
-    public String[] getPrefixes() {
-        return EMPTY_STRINGS;
-    }
-
-    public int getTypeIndex(String type) {
-        return -1;
-    }
+/*
+ * Copyright 2006 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.axis2.jibx;
+
+import org.jibx.runtime.IBindingFactory;
+import org.jibx.runtime.IMarshallingContext;
+import org.jibx.runtime.IUnmarshallingContext;
+import org.jibx.runtime.JiBXException;
+import org.jibx.runtime.impl.MarshallingContext;
+import org.jibx.runtime.impl.UnmarshallingContext;
+
+public class NullBindingFactory implements IBindingFactory {
+    
+    private static final String[] EMPTY_STRINGS = new String[0];
+    
+    public IMarshallingContext createMarshallingContext() throws JiBXException {
+        return new MarshallingContext(EMPTY_STRINGS, EMPTY_STRINGS, EMPTY_STRINGS, this);
+    }
+
+    public IUnmarshallingContext createUnmarshallingContext()
+        throws JiBXException {
+        return new UnmarshallingContext(0, EMPTY_STRINGS, EMPTY_STRINGS, EMPTY_STRINGS, EMPTY_STRINGS, this);
+    }
+
+    public String getCompilerDistribution() {
+        // normally only used by BindingDirectory code, so okay to punt
+        return "";
+    }
+
+    public int getCompilerVersion() {
+        // normally only used by BindingDirectory code, so okay to punt
+        return 0;
+    }
+
+    public String[] getElementNames() {
+        return EMPTY_STRINGS;
+    }
+
+    public String[] getElementNamespaces() {
+        return EMPTY_STRINGS;
+    }
+
+    public String[] getMappedClasses() {
+        return EMPTY_STRINGS;
+    }
+
+    public String[] getNamespaces() {
+        return EMPTY_STRINGS;
+    }
+
+    public String[] getPrefixes() {
+        return EMPTY_STRINGS;
+    }
+
+    public int getTypeIndex(String type) {
+        return -1;
+    }
 }

Modified: webservices/axis2/branches/java/1_1/modules/jibx/test-resources/binding/customer-binding.xml
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/jibx/test-resources/binding/customer-binding.xml?view=diff&rev=489066&r1=489065&r2=489066
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/jibx/test-resources/binding/customer-binding.xml (original)
+++ webservices/axis2/branches/java/1_1/modules/jibx/test-resources/binding/customer-binding.xml Wed Dec 20 04:23:24 2006
@@ -1,15 +1,32 @@
-<binding>
-  <namespace uri="http://ws.apache.org/axis2/jibx/customer/data" default="elements"/>
-  <mapping name="customer" class="org.apache.axis2.jibx.Customer">
-    <structure name="person" field="person">
-      <value name="cust-num" field="customerNumber"/>
-      <value name="first-name" field="firstName"/>
-      <value name="last-name" field="lastName"/>
-    </structure>
-    <value name="street" field="street"/>
-    <value name="city" field="city"/>
-    <value name="state" field="state"/>
-    <value name="zip" field="zip"/>
-    <value name="phone" field="phone"/>
-  </mapping>
-</binding>
+<!--
+/*
+ * 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.
+ */
+ -->
+<binding>
+  <namespace uri="http://ws.apache.org/axis2/jibx/customer/data" default="elements"/>
+  <mapping name="customer" class="org.apache.axis2.jibx.Customer">
+    <structure name="person" field="person">
+      <value name="cust-num" field="customerNumber"/>
+      <value name="first-name" field="firstName"/>
+      <value name="last-name" field="lastName"/>
+    </structure>
+    <value name="street" field="street"/>
+    <value name="city" field="city"/>
+    <value name="state" field="state"/>
+    <value name="zip" field="zip"/>
+    <value name="phone" field="phone"/>
+  </mapping>
+</binding>

Modified: webservices/axis2/branches/java/1_1/modules/jibx/test-resources/binding/library-binding.xml
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/jibx/test-resources/binding/library-binding.xml?view=diff&rev=489066&r1=489065&r2=489066
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/jibx/test-resources/binding/library-binding.xml (original)
+++ webservices/axis2/branches/java/1_1/modules/jibx/test-resources/binding/library-binding.xml Wed Dec 20 04:23:24 2006
@@ -1,82 +1,99 @@
-<binding add-constructors="true" force-classes="true"
-    xmlns:tns="http://ws.sosnoski.com/library/types">
-
-  <namespace uri="http://ws.sosnoski.com/library/types" default="elements"/>
-  
-  <mapping name="getBook"
-      class="org.apache.axis2.jibx.wrappers.GetBookRequest">
-    <value name="isbn" field="m_isbn"/>
-  </mapping>
-  
-  <mapping name="getBookResponse"
-      class="org.apache.axis2.jibx.wrappers.GetBookResponse">
-    <structure name="getBookReturn" field="m_book" usage="optional"
-        map-as="tns:BookInformation"/>
-  </mapping>
-  
-  <mapping name="getBooksByType"
-      class="org.apache.axis2.jibx.wrappers.GetBooksByTypeRequest">
-    <value name="type" field="m_type"/>
-  </mapping>
-  
-  <mapping name="getBooksByTypeResponse"
-      class="org.apache.axis2.jibx.wrappers.GetBooksByTypeResponse">
-    <collection field="m_books" usage="optional">
-      <structure name="getBooksByTypeReturn" map-as="tns:BookInformation"/>
-    </collection>
-  </mapping>
-  
-  <mapping name="getTypes"
-      class="org.apache.axis2.jibx.wrappers.GetTypesRequest"/>
-  
-  <mapping name="getTypesResponse"
-      class="org.apache.axis2.jibx.wrappers.GetTypesResponse">
-    <collection field="m_types" usage="optional">
-      <structure name="getTypesReturn" map-as="tns:TypeInformation"/>
-    </collection>
-  </mapping>
-  
-  <mapping name="addBook"
-      class="org.apache.axis2.jibx.wrappers.AddBookRequest">
-    <structure field="m_book">
-      <value name="type" field="m_type"/>
-      <value name="isbn" field="m_isbn"/>
-      <collection field="m_authors">
-        <value name="author" type="java.lang.String"/>
-      </collection>
-      <value name="title" field="m_title"/>
-    </structure>
-  </mapping>
-  
-  <mapping name="addBookResponse"
-      class="org.apache.axis2.jibx.wrappers.AddBookResponse">
-    <value name="addBookReturn" field="m_success"/>
-  </mapping>
-  
-  <mapping name="addBookInstance"
-      class="org.apache.axis2.jibx.wrappers.AddBookInstanceRequest">
-    <structure name="book" field="m_book" map-as="tns:BookInformation"/>
-  </mapping>
-  
-  <mapping name="addBookInstanceResponse"
-      class="org.apache.axis2.jibx.wrappers.AddBookInstanceResponse"/>
-  
-  <mapping abstract="true" class="org.apache.axis2.jibx.beans.Book"
-      type-name="tns:BookInformation">
-    <namespace prefix="types" uri="http://ws.sosnoski.com/library/types"/>
-    <value name="type" style="attribute" field="m_type"/>
-    <value name="isbn" style="attribute" field="m_isbn"/>
-    <collection field="m_authors">
-      <value name="author" type="java.lang.String"/>
-    </collection>
-    <value name="title" field="m_title"/>
-  </mapping>
-  
-  <mapping abstract="true" class="org.apache.axis2.jibx.beans.Type"
-      type-name="tns:TypeInformation">
-    <value name="name" style="attribute" field="m_name"/>
-    <value name="count" style="attribute" field="m_count"/>
-    <value style="text" field="m_description"/>
-  </mapping>
-
-</binding>
+<!--
+/*
+ * 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.
+ */
+ -->
+<binding add-constructors="true" force-classes="true"
+    xmlns:tns="http://ws.sosnoski.com/library/types">
+
+  <namespace uri="http://ws.sosnoski.com/library/types" default="elements"/>
+  
+  <mapping name="getBook"
+      class="org.apache.axis2.jibx.wrappers.GetBookRequest">
+    <value name="isbn" field="m_isbn"/>
+  </mapping>
+  
+  <mapping name="getBookResponse"
+      class="org.apache.axis2.jibx.wrappers.GetBookResponse">
+    <structure name="getBookReturn" field="m_book" usage="optional"
+        map-as="tns:BookInformation"/>
+  </mapping>
+  
+  <mapping name="getBooksByType"
+      class="org.apache.axis2.jibx.wrappers.GetBooksByTypeRequest">
+    <value name="type" field="m_type"/>
+  </mapping>
+  
+  <mapping name="getBooksByTypeResponse"
+      class="org.apache.axis2.jibx.wrappers.GetBooksByTypeResponse">
+    <collection field="m_books" usage="optional">
+      <structure name="getBooksByTypeReturn" map-as="tns:BookInformation"/>
+    </collection>
+  </mapping>
+  
+  <mapping name="getTypes"
+      class="org.apache.axis2.jibx.wrappers.GetTypesRequest"/>
+  
+  <mapping name="getTypesResponse"
+      class="org.apache.axis2.jibx.wrappers.GetTypesResponse">
+    <collection field="m_types" usage="optional">
+      <structure name="getTypesReturn" map-as="tns:TypeInformation"/>
+    </collection>
+  </mapping>
+  
+  <mapping name="addBook"
+      class="org.apache.axis2.jibx.wrappers.AddBookRequest">
+    <structure field="m_book">
+      <value name="type" field="m_type"/>
+      <value name="isbn" field="m_isbn"/>
+      <collection field="m_authors">
+        <value name="author" type="java.lang.String"/>
+      </collection>
+      <value name="title" field="m_title"/>
+    </structure>
+  </mapping>
+  
+  <mapping name="addBookResponse"
+      class="org.apache.axis2.jibx.wrappers.AddBookResponse">
+    <value name="addBookReturn" field="m_success"/>
+  </mapping>
+  
+  <mapping name="addBookInstance"
+      class="org.apache.axis2.jibx.wrappers.AddBookInstanceRequest">
+    <structure name="book" field="m_book" map-as="tns:BookInformation"/>
+  </mapping>
+  
+  <mapping name="addBookInstanceResponse"
+      class="org.apache.axis2.jibx.wrappers.AddBookInstanceResponse"/>
+  
+  <mapping abstract="true" class="org.apache.axis2.jibx.beans.Book"
+      type-name="tns:BookInformation">
+    <namespace prefix="types" uri="http://ws.sosnoski.com/library/types"/>
+    <value name="type" style="attribute" field="m_type"/>
+    <value name="isbn" style="attribute" field="m_isbn"/>
+    <collection field="m_authors">
+      <value name="author" type="java.lang.String"/>
+    </collection>
+    <value name="title" field="m_title"/>
+  </mapping>
+  
+  <mapping abstract="true" class="org.apache.axis2.jibx.beans.Type"
+      type-name="tns:TypeInformation">
+    <value name="name" style="attribute" field="m_name"/>
+    <value name="count" style="attribute" field="m_count"/>
+    <value style="text" field="m_description"/>
+  </mapping>
+
+</binding>

Modified: webservices/axis2/branches/java/1_1/modules/jibx/test-resources/repo/conf/axis2.xml
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/jibx/test-resources/repo/conf/axis2.xml?view=diff&rev=489066&r1=489065&r2=489066
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/jibx/test-resources/repo/conf/axis2.xml (original)
+++ webservices/axis2/branches/java/1_1/modules/jibx/test-resources/repo/conf/axis2.xml Wed Dec 20 04:23:24 2006
@@ -1,3 +1,20 @@
+<!--
+/*
+ * 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.
+ */
+ -->
 <axisconfig name="AxisJava2.0">
     <!-- ================================================= -->
     <!-- Parameters -->

Modified: webservices/axis2/branches/java/1_1/modules/jibx/test-resources/wsdl/customer-echo.wsdl
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/jibx/test-resources/wsdl/customer-echo.wsdl?view=diff&rev=489066&r1=489065&r2=489066
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/jibx/test-resources/wsdl/customer-echo.wsdl (original)
+++ webservices/axis2/branches/java/1_1/modules/jibx/test-resources/wsdl/customer-echo.wsdl Wed Dec 20 04:23:24 2006
@@ -1,4 +1,21 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!--
+/*
+ * 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.
+ */
+ -->
 <definitions xmlns:dns="http://ws.apache.org/axis2/jibx/customer/data"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"

Modified: webservices/axis2/branches/java/1_1/modules/jibx/test-resources/wsdl/customer.xsd
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/jibx/test-resources/wsdl/customer.xsd?view=diff&rev=489066&r1=489065&r2=489066
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/jibx/test-resources/wsdl/customer.xsd (original)
+++ webservices/axis2/branches/java/1_1/modules/jibx/test-resources/wsdl/customer.xsd Wed Dec 20 04:23:24 2006
@@ -1,24 +1,42 @@
-<?xml version="1.0" encoding="UTF-8"?><schema elementFormDefault="qualified" targetNamespace="http://ws.apache.org/axis2/jibx/customer/data" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://ws.apache.org/axis2/jibx/customer/data" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
-
-  <!-- Created from mapping for class org.apache.axis2.jibx.Customer -->
-  <element name="customer">
-    <complexType>
-      <sequence>
-        <element name="person">
-          <complexType>
-            <sequence>
-              <element name="cust-num" type="xsd:int"/>
-              <element name="first-name" type="xsd:string"/>
-              <element name="last-name" type="xsd:string"/>
-            </sequence>
-          </complexType>
-        </element>
-        <element name="street" type="xsd:string"/>
-        <element name="city" type="xsd:string"/>
-        <element name="state" type="xsd:string"/>
-        <element name="zip" type="xsd:int"/>
-        <element name="phone" type="xsd:string"/>
-      </sequence>
-    </complexType>
-  </element>
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+/*
+ * 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.
+ */
+ -->
+<schema elementFormDefault="qualified" targetNamespace="http://ws.apache.org/axis2/jibx/customer/data" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://ws.apache.org/axis2/jibx/customer/data" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+
+  <!-- Created from mapping for class org.apache.axis2.jibx.Customer -->
+  <element name="customer">
+    <complexType>
+      <sequence>
+        <element name="person">
+          <complexType>
+            <sequence>
+              <element name="cust-num" type="xsd:int"/>
+              <element name="first-name" type="xsd:string"/>
+              <element name="last-name" type="xsd:string"/>
+            </sequence>
+          </complexType>
+        </element>
+        <element name="street" type="xsd:string"/>
+        <element name="city" type="xsd:string"/>
+        <element name="state" type="xsd:string"/>
+        <element name="zip" type="xsd:int"/>
+        <element name="phone" type="xsd:string"/>
+      </sequence>
+    </complexType>
+  </element>
 </schema>

Modified: webservices/axis2/branches/java/1_1/modules/jibx/test-resources/wsdl/library.wsdl
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/jibx/test-resources/wsdl/library.wsdl?view=diff&rev=489066&r1=489065&r2=489066
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/jibx/test-resources/wsdl/library.wsdl (original)
+++ webservices/axis2/branches/java/1_1/modules/jibx/test-resources/wsdl/library.wsdl Wed Dec 20 04:23:24 2006
@@ -1,268 +1,285 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<wsdl:definitions targetNamespace="http://ws.sosnoski.com/library/wsdl"
-    xmlns:wns="http://ws.sosnoski.com/library/wsdl"
-    xmlns:tns="http://ws.sosnoski.com/library/types"
-    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
-    xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/">
-  <wsdl:types>
-  
-    <schema elementFormDefault="qualified"
-        targetNamespace="http://ws.sosnoski.com/library/types"
-        xmlns="http://www.w3.org/2001/XMLSchema"
-        xmlns:xsd="http://www.w3.org/2001/XMLSchema">
-        
-      <element name="getBook">
-        <complexType>
-          <sequence>
-            <element name="isbn" type="xsd:string"/>
-          </sequence>
-        </complexType>
-      </element>
-      
-      <element name="getBookResponse">
-        <complexType>
-          <sequence>
-            <element name="getBookReturn" minOccurs="0" type="tns:BookInformation"/>
-          </sequence>
-        </complexType>
-      </element>
-      
-      <element name="getBooksByType">
-        <complexType>
-          <sequence>
-            <element name="type" type="xsd:string"/>
-          </sequence>
-        </complexType>
-      </element>
-      
-      <element name="getBooksByTypeResponse">
-        <complexType>
-          <sequence>
-            <element name="getBooksByTypeReturn" minOccurs="0" maxOccurs="unbounded" type="tns:BookInformation"/>
-          </sequence>
-        </complexType>
-      </element>
-      
-      <element name="getTypes">
-        <complexType>
-          <sequence/>
-        </complexType>
-      </element>
-      
-      <element name="getTypesResponse">
-        <complexType>
-          <sequence>
-            <element name="getTypesReturn" maxOccurs="unbounded" type="tns:TypeInformation"/>
-          </sequence>
-        </complexType>
-      </element>
-      
-      <element name="addBook">
-        <complexType>
-          <sequence>
-            <element name="type" type="xsd:string"/>
-            <element name="isbn" type="xsd:string"/>
-            <element name="author" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
-            <element name="title" type="xsd:string"/>
-          </sequence>
-        </complexType>
-      </element>
-      
-      <element name="addBookResponse">
-        <complexType>
-          <sequence>
-            <element name="addBookReturn" type="xsd:boolean"/>
-          </sequence>
-        </complexType>
-      </element>
-      
-      <element name="addBookInstance">
-        <complexType>
-          <sequence>
-            <element name="book" type="tns:BookInformation"/>
-          </sequence>
-        </complexType>
-      </element>
-      
-      <element name="addBookInstanceResponse">
-        <complexType>
-          <sequence/>
-        </complexType>
-      </element>
-      
-      <complexType name="BookInformation">
-        <sequence>
-          <element name="author" minOccurs="0" maxOccurs="unbounded" type="string"/>
-          <element name="title" type="string"/>
-        </sequence>
-        <attribute name="type" use="required" type="string"/>
-        <attribute name="isbn" use="required" type="string"/>
-      </complexType>
-      
-      <complexType name="TypeInformation">
-        <simpleContent>
-          <extension base="xsd:string">
-            <attribute name="count" use="required" type="int"/>
-            <attribute name="name" use="required" type="string"/>
-          </extension>
-        </simpleContent>
-      </complexType>
-      
-    </schema>
-
-  </wsdl:types>
-
-  <wsdl:message name="getBookRequest">
-    <wsdl:part element="tns:getBook" name="parameters"/>
-  </wsdl:message>
-
-  <wsdl:message name="getBookResponse">
-    <wsdl:part element="tns:getBookResponse" name="parameters"/>
-  </wsdl:message>
-
-  <wsdl:message name="getBooksByTypeRequest">
-    <wsdl:part element="tns:getBooksByType" name="parameters"/>
-  </wsdl:message>
-
-  <wsdl:message name="getBooksByTypeResponse">
-    <wsdl:part element="tns:getBooksByTypeResponse" name="parameters"/>
-  </wsdl:message>
-  
-  <wsdl:message name="getTypesRequest">
-    <wsdl:part element="tns:getTypes" name="parameters"/>
-  </wsdl:message>
-
-  <wsdl:message name="getTypesResponse">
-    <wsdl:part element="tns:getTypesResponse" name="parameters"/>
-  </wsdl:message>
-
-  <wsdl:message name="addBookRequest">
-    <wsdl:part element="tns:addBook" name="parameters"/>
-  </wsdl:message>
-  
-  <wsdl:message name="addBookResponse">
-    <wsdl:part element="tns:addBookResponse" name="parameters"/>
-  </wsdl:message>
-
-  <wsdl:message name="addBookInstanceRequest">
-    <wsdl:part element="tns:addBookInstance" name="parameters"/>
-  </wsdl:message>
-  
-  <wsdl:message name="addBookInstanceResponse">
-    <wsdl:part element="tns:addBookInstanceResponse" name="parameters"/>
-  </wsdl:message>
-
-  <wsdl:portType name="Library">
-
-    <wsdl:operation name="getBook">
-      <wsdl:input message="wns:getBookRequest" name="getBookRequest"/>
-      <wsdl:output message="wns:getBookResponse" name="getBookResponse"/>
-    </wsdl:operation>
-
-    <wsdl:operation name="getBooksByType">
-      <wsdl:input message="wns:getBooksByTypeRequest" name="getBooksByTypeRequest"/>
-      <wsdl:output message="wns:getBooksByTypeResponse" name="getBooksByTypeResponse"/>
-    </wsdl:operation>
-
-    <wsdl:operation name="getTypes">
-      <wsdl:input message="wns:getTypesRequest" name="getTypesRequest"/>
-      <wsdl:output message="wns:getTypesResponse" name="getTypesResponse"/>
-    </wsdl:operation>
-
-    <wsdl:operation name="addBook">
-      <wsdl:input message="wns:addBookRequest" name="addBookRequest"/>
-      <wsdl:output message="wns:addBookResponse" name="addBookResponse"/>
-    </wsdl:operation>
-
-    <wsdl:operation name="addBookInstance">
-      <wsdl:input message="wns:addBookInstanceRequest" name="addBookInstanceRequest"/>
-      <wsdl:output message="wns:addBookInstanceResponse" name="addBookInstanceResponse"/>
-    </wsdl:operation>
-
-  </wsdl:portType>
-
-  <wsdl:binding name="LibrarySoapBinding" type="wns:Library">
-
-    <wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
-
-    <wsdl:operation name="getBook">
-    
-      <wsdlsoap:operation soapAction=""/>
-      
-      <wsdl:input name="getBookRequest">
-        <wsdlsoap:body use="literal"/>
-      </wsdl:input>
-      
-      <wsdl:output name="getBookResponse">
-        <wsdlsoap:body use="literal"/>
-      </wsdl:output>
-      
-    </wsdl:operation>
-
-    <wsdl:operation name="getBooksByType">
-    
-      <wsdlsoap:operation soapAction=""/>
-      
-      <wsdl:input name="getBooksByTypeRequest">
-        <wsdlsoap:body use="literal"/>
-      </wsdl:input>
-      
-      <wsdl:output name="getBooksByTypeResponse">
-        <wsdlsoap:body use="literal"/>
-      </wsdl:output>
-      
-    </wsdl:operation>
-
-    <wsdl:operation name="getTypes">
-    
-      <wsdlsoap:operation soapAction=""/>
-      
-      <wsdl:input name="getTypesRequest">
-        <wsdlsoap:body use="literal"/>
-      </wsdl:input>
-
-      <wsdl:output name="getTypesResponse">
-        <wsdlsoap:body use="literal"/>
-      </wsdl:output>
-
-    </wsdl:operation>
-
-    <wsdl:operation name="addBook">
-
-      <wsdlsoap:operation soapAction=""/>
-
-      <wsdl:input name="addBookRequest">
-        <wsdlsoap:body use="literal"/>
-      </wsdl:input>
-
-      <wsdl:output name="addBookResponse">
-        <wsdlsoap:body use="literal"/>
-      </wsdl:output>
-
-    </wsdl:operation>
-
-    <wsdl:operation name="addBookInstance">
-
-      <wsdlsoap:operation soapAction=""/>
-
-      <wsdl:input name="addBookInstanceRequest">
-        <wsdlsoap:body use="literal"/>
-      </wsdl:input>
-
-      <wsdl:output name="addBookInstanceResponse">
-        <wsdlsoap:body use="literal"/>
-      </wsdl:output>
-
-    </wsdl:operation>
-
-  </wsdl:binding>
-
-  <wsdl:service name="library">
-
-    <wsdl:port binding="wns:LibrarySoapBinding" name="library">
-      <wsdlsoap:address location="http://127.0.0.1:5555/axis2/services/library"/>
-    </wsdl:port>
-
-  </wsdl:service>
-
-</wsdl:definitions>
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+/*
+ * 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.
+ */
+ -->
+<wsdl:definitions targetNamespace="http://ws.sosnoski.com/library/wsdl"
+    xmlns:wns="http://ws.sosnoski.com/library/wsdl"
+    xmlns:tns="http://ws.sosnoski.com/library/types"
+    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
+    xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/">
+  <wsdl:types>
+  
+    <schema elementFormDefault="qualified"
+        targetNamespace="http://ws.sosnoski.com/library/types"
+        xmlns="http://www.w3.org/2001/XMLSchema"
+        xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+        
+      <element name="getBook">
+        <complexType>
+          <sequence>
+            <element name="isbn" type="xsd:string"/>
+          </sequence>
+        </complexType>
+      </element>
+      
+      <element name="getBookResponse">
+        <complexType>
+          <sequence>
+            <element name="getBookReturn" minOccurs="0" type="tns:BookInformation"/>
+          </sequence>
+        </complexType>
+      </element>
+      
+      <element name="getBooksByType">
+        <complexType>
+          <sequence>
+            <element name="type" type="xsd:string"/>
+          </sequence>
+        </complexType>
+      </element>
+      
+      <element name="getBooksByTypeResponse">
+        <complexType>
+          <sequence>
+            <element name="getBooksByTypeReturn" minOccurs="0" maxOccurs="unbounded" type="tns:BookInformation"/>
+          </sequence>
+        </complexType>
+      </element>
+      
+      <element name="getTypes">
+        <complexType>
+          <sequence/>
+        </complexType>
+      </element>
+      
+      <element name="getTypesResponse">
+        <complexType>
+          <sequence>
+            <element name="getTypesReturn" maxOccurs="unbounded" type="tns:TypeInformation"/>
+          </sequence>
+        </complexType>
+      </element>
+      
+      <element name="addBook">
+        <complexType>
+          <sequence>
+            <element name="type" type="xsd:string"/>
+            <element name="isbn" type="xsd:string"/>
+            <element name="author" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
+            <element name="title" type="xsd:string"/>
+          </sequence>
+        </complexType>
+      </element>
+      
+      <element name="addBookResponse">
+        <complexType>
+          <sequence>
+            <element name="addBookReturn" type="xsd:boolean"/>
+          </sequence>
+        </complexType>
+      </element>
+      
+      <element name="addBookInstance">
+        <complexType>
+          <sequence>
+            <element name="book" type="tns:BookInformation"/>
+          </sequence>
+        </complexType>
+      </element>
+      
+      <element name="addBookInstanceResponse">
+        <complexType>
+          <sequence/>
+        </complexType>
+      </element>
+      
+      <complexType name="BookInformation">
+        <sequence>
+          <element name="author" minOccurs="0" maxOccurs="unbounded" type="string"/>
+          <element name="title" type="string"/>
+        </sequence>
+        <attribute name="type" use="required" type="string"/>
+        <attribute name="isbn" use="required" type="string"/>
+      </complexType>
+      
+      <complexType name="TypeInformation">
+        <simpleContent>
+          <extension base="xsd:string">
+            <attribute name="count" use="required" type="int"/>
+            <attribute name="name" use="required" type="string"/>
+          </extension>
+        </simpleContent>
+      </complexType>
+      
+    </schema>
+
+  </wsdl:types>
+
+  <wsdl:message name="getBookRequest">
+    <wsdl:part element="tns:getBook" name="parameters"/>
+  </wsdl:message>
+
+  <wsdl:message name="getBookResponse">
+    <wsdl:part element="tns:getBookResponse" name="parameters"/>
+  </wsdl:message>
+
+  <wsdl:message name="getBooksByTypeRequest">
+    <wsdl:part element="tns:getBooksByType" name="parameters"/>
+  </wsdl:message>
+
+  <wsdl:message name="getBooksByTypeResponse">
+    <wsdl:part element="tns:getBooksByTypeResponse" name="parameters"/>
+  </wsdl:message>
+  
+  <wsdl:message name="getTypesRequest">
+    <wsdl:part element="tns:getTypes" name="parameters"/>
+  </wsdl:message>
+
+  <wsdl:message name="getTypesResponse">
+    <wsdl:part element="tns:getTypesResponse" name="parameters"/>
+  </wsdl:message>
+
+  <wsdl:message name="addBookRequest">
+    <wsdl:part element="tns:addBook" name="parameters"/>
+  </wsdl:message>
+  
+  <wsdl:message name="addBookResponse">
+    <wsdl:part element="tns:addBookResponse" name="parameters"/>
+  </wsdl:message>
+
+  <wsdl:message name="addBookInstanceRequest">
+    <wsdl:part element="tns:addBookInstance" name="parameters"/>
+  </wsdl:message>
+  
+  <wsdl:message name="addBookInstanceResponse">
+    <wsdl:part element="tns:addBookInstanceResponse" name="parameters"/>
+  </wsdl:message>
+
+  <wsdl:portType name="Library">
+
+    <wsdl:operation name="getBook">
+      <wsdl:input message="wns:getBookRequest" name="getBookRequest"/>
+      <wsdl:output message="wns:getBookResponse" name="getBookResponse"/>
+    </wsdl:operation>
+
+    <wsdl:operation name="getBooksByType">
+      <wsdl:input message="wns:getBooksByTypeRequest" name="getBooksByTypeRequest"/>
+      <wsdl:output message="wns:getBooksByTypeResponse" name="getBooksByTypeResponse"/>
+    </wsdl:operation>
+
+    <wsdl:operation name="getTypes">
+      <wsdl:input message="wns:getTypesRequest" name="getTypesRequest"/>
+      <wsdl:output message="wns:getTypesResponse" name="getTypesResponse"/>
+    </wsdl:operation>
+
+    <wsdl:operation name="addBook">
+      <wsdl:input message="wns:addBookRequest" name="addBookRequest"/>
+      <wsdl:output message="wns:addBookResponse" name="addBookResponse"/>
+    </wsdl:operation>
+
+    <wsdl:operation name="addBookInstance">
+      <wsdl:input message="wns:addBookInstanceRequest" name="addBookInstanceRequest"/>
+      <wsdl:output message="wns:addBookInstanceResponse" name="addBookInstanceResponse"/>
+    </wsdl:operation>
+
+  </wsdl:portType>
+
+  <wsdl:binding name="LibrarySoapBinding" type="wns:Library">
+
+    <wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
+
+    <wsdl:operation name="getBook">
+    
+      <wsdlsoap:operation soapAction=""/>
+      
+      <wsdl:input name="getBookRequest">
+        <wsdlsoap:body use="literal"/>
+      </wsdl:input>
+      
+      <wsdl:output name="getBookResponse">
+        <wsdlsoap:body use="literal"/>
+      </wsdl:output>
+      
+    </wsdl:operation>
+
+    <wsdl:operation name="getBooksByType">
+    
+      <wsdlsoap:operation soapAction=""/>
+      
+      <wsdl:input name="getBooksByTypeRequest">
+        <wsdlsoap:body use="literal"/>
+      </wsdl:input>
+      
+      <wsdl:output name="getBooksByTypeResponse">
+        <wsdlsoap:body use="literal"/>
+      </wsdl:output>
+      
+    </wsdl:operation>
+
+    <wsdl:operation name="getTypes">
+    
+      <wsdlsoap:operation soapAction=""/>
+      
+      <wsdl:input name="getTypesRequest">
+        <wsdlsoap:body use="literal"/>
+      </wsdl:input>
+
+      <wsdl:output name="getTypesResponse">
+        <wsdlsoap:body use="literal"/>
+      </wsdl:output>
+
+    </wsdl:operation>
+
+    <wsdl:operation name="addBook">
+
+      <wsdlsoap:operation soapAction=""/>
+
+      <wsdl:input name="addBookRequest">
+        <wsdlsoap:body use="literal"/>
+      </wsdl:input>
+
+      <wsdl:output name="addBookResponse">
+        <wsdlsoap:body use="literal"/>
+      </wsdl:output>
+
+    </wsdl:operation>
+
+    <wsdl:operation name="addBookInstance">
+
+      <wsdlsoap:operation soapAction=""/>
+
+      <wsdl:input name="addBookInstanceRequest">
+        <wsdlsoap:body use="literal"/>
+      </wsdl:input>
+
+      <wsdl:output name="addBookInstanceResponse">
+        <wsdlsoap:body use="literal"/>
+      </wsdl:output>
+
+    </wsdl:operation>
+
+  </wsdl:binding>
+
+  <wsdl:service name="library">
+
+    <wsdl:port binding="wns:LibrarySoapBinding" name="library">
+      <wsdlsoap:address location="http://127.0.0.1:5555/axis2/services/library"/>
+    </wsdl:port>
+
+  </wsdl:service>
+
+</wsdl:definitions>

Modified: webservices/axis2/branches/java/1_1/modules/jibx/test-resources/xml/customer-data.xml
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/jibx/test-resources/xml/customer-data.xml?view=diff&rev=489066&r1=489065&r2=489066
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/jibx/test-resources/xml/customer-data.xml (original)
+++ webservices/axis2/branches/java/1_1/modules/jibx/test-resources/xml/customer-data.xml Wed Dec 20 04:23:24 2006
@@ -1,12 +1,29 @@
-<customer>
-  <person>
-    <cust-num>123456789</cust-num>
-    <first-name>John</first-name>
-    <last-name>Smith</last-name>
-  </person>
-  <street>12345 Happy Lane</street>
-  <city>Plunk</city>
-  <state>WA</state>
-  <zip>98059</zip>
-  <phone>888.555.1234</phone>
-</customer>
+<!--
+/*
+ * 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.
+ */
+ -->
+<customer>
+  <person>
+    <cust-num>123456789</cust-num>
+    <first-name>John</first-name>
+    <last-name>Smith</last-name>
+  </person>
+  <street>12345 Happy Lane</street>
+  <city>Plunk</city>
+  <state>WA</state>
+  <zip>98059</zip>
+  <phone>888.555.1234</phone>
+</customer>

Modified: webservices/axis2/branches/java/1_1/modules/kernel/maven.xml
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/kernel/maven.xml?view=diff&rev=489066&r1=489065&r2=489066
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/kernel/maven.xml (original)
+++ webservices/axis2/branches/java/1_1/modules/kernel/maven.xml Wed Dec 20 04:23:24 2006
@@ -1,5 +1,21 @@
 <?xml version="1.0" encoding="UTF-8"?>
-
+<!--
+/*
+ * 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.
+ */
+ -->
 <!-- $Revision: 1.21 $ $Date: 2004-10-27 20:54:09 +0600 (Wed, 27 Oct 2004) $ -->
 
 <project default="jar"

Modified: webservices/axis2/branches/java/1_1/modules/kernel/src/org/apache/axis2/deployment/axis2_default.xml
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/kernel/src/org/apache/axis2/deployment/axis2_default.xml?view=diff&rev=489066&r1=489065&r2=489066
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/kernel/src/org/apache/axis2/deployment/axis2_default.xml (original)
+++ webservices/axis2/branches/java/1_1/modules/kernel/src/org/apache/axis2/deployment/axis2_default.xml Wed Dec 20 04:23:24 2006
@@ -1,3 +1,20 @@
+<!--
+/*
+ * 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.
+ */
+ -->
 <axisconfig name="AxisJava2.0">
     <!-- ================================================= -->
     <!-- Parameters -->



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org