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 [9/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-resourc...
Modified: webservices/axis2/branches/java/1_1/modules/codegen/src/org/apache/axis2/wsdl/template/java/InterfaceTemplate.xsl
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/codegen/src/org/apache/axis2/wsdl/template/java/InterfaceTemplate.xsl?view=diff&rev=489066&r1=489065&r2=489066
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/codegen/src/org/apache/axis2/wsdl/template/java/InterfaceTemplate.xsl (original)
+++ webservices/axis2/branches/java/1_1/modules/codegen/src/org/apache/axis2/wsdl/template/java/InterfaceTemplate.xsl 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.
+ */
+ -->
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="text"/>
Modified: webservices/axis2/branches/java/1_1/modules/codegen/src/org/apache/axis2/wsdl/template/java/JaxmeDatabindingTemplate.xsl
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/codegen/src/org/apache/axis2/wsdl/template/java/JaxmeDatabindingTemplate.xsl?view=diff&rev=489066&r1=489065&r2=489066
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/codegen/src/org/apache/axis2/wsdl/template/java/JaxmeDatabindingTemplate.xsl (original)
+++ webservices/axis2/branches/java/1_1/modules/codegen/src/org/apache/axis2/wsdl/template/java/JaxmeDatabindingTemplate.xsl 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.
+ */
+ -->
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="text"/>
Modified: webservices/axis2/branches/java/1_1/modules/codegen/src/org/apache/axis2/wsdl/template/java/MessageReceiverTemplate.xsl
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/codegen/src/org/apache/axis2/wsdl/template/java/MessageReceiverTemplate.xsl?view=diff&rev=489066&r1=489065&r2=489066
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/codegen/src/org/apache/axis2/wsdl/template/java/MessageReceiverTemplate.xsl (original)
+++ webservices/axis2/branches/java/1_1/modules/codegen/src/org/apache/axis2/wsdl/template/java/MessageReceiverTemplate.xsl 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.
+ */
+ -->
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="text"/>
Modified: webservices/axis2/branches/java/1_1/modules/codegen/src/org/apache/axis2/wsdl/template/java/NoneDatabindingTemplate.xsl
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/codegen/src/org/apache/axis2/wsdl/template/java/NoneDatabindingTemplate.xsl?view=diff&rev=489066&r1=489065&r2=489066
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/codegen/src/org/apache/axis2/wsdl/template/java/NoneDatabindingTemplate.xsl (original)
+++ webservices/axis2/branches/java/1_1/modules/codegen/src/org/apache/axis2/wsdl/template/java/NoneDatabindingTemplate.xsl Wed Dec 20 04:23:24 2006
@@ -1,34 +1,51 @@
-<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
- <xsl:output method="text"/>
-
-
- <!-- ################################################################################# -->
- <!-- ############################ none template!!! ############################## -->
- <xsl:template match="databinders[@dbtype='none']">
- private org.apache.axiom.om.OMElement fromOM(
- org.apache.axiom.om.OMElement param,
- java.lang.Class type,
- java.util.Map extraNamespaces){
- return param;
- }
-
- private org.apache.axiom.om.OMElement toOM(org.apache.axiom.om.OMElement param, boolean optimizeContent){
- return param;
- }
-
- private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory, org.apache.axiom.om.OMElement param, boolean optimizeContent){
- org.apache.axiom.soap.SOAPEnvelope envelope = factory.getDefaultEnvelope();
- envelope.getBody().addChild(param);
- return envelope;
- }
-
- /**
- * get the default envelope
- */
- private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory){
- return factory.getDefaultEnvelope();
- }
-
- </xsl:template>
-
+<!--
+/*
+ * 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.
+ */
+ -->
+<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+ <xsl:output method="text"/>
+
+
+ <!-- ################################################################################# -->
+ <!-- ############################ none template!!! ############################## -->
+ <xsl:template match="databinders[@dbtype='none']">
+ private org.apache.axiom.om.OMElement fromOM(
+ org.apache.axiom.om.OMElement param,
+ java.lang.Class type,
+ java.util.Map extraNamespaces){
+ return param;
+ }
+
+ private org.apache.axiom.om.OMElement toOM(org.apache.axiom.om.OMElement param, boolean optimizeContent){
+ return param;
+ }
+
+ private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory, org.apache.axiom.om.OMElement param, boolean optimizeContent){
+ org.apache.axiom.soap.SOAPEnvelope envelope = factory.getDefaultEnvelope();
+ envelope.getBody().addChild(param);
+ return envelope;
+ }
+
+ /**
+ * get the default envelope
+ */
+ private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory){
+ return factory.getDefaultEnvelope();
+ }
+
+ </xsl:template>
+
</xsl:stylesheet>
Modified: webservices/axis2/branches/java/1_1/modules/codegen/src/org/apache/axis2/wsdl/template/java/PolicyExtensionTemplate.xsl
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/codegen/src/org/apache/axis2/wsdl/template/java/PolicyExtensionTemplate.xsl?view=diff&rev=489066&r1=489065&r2=489066
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/codegen/src/org/apache/axis2/wsdl/template/java/PolicyExtensionTemplate.xsl (original)
+++ webservices/axis2/branches/java/1_1/modules/codegen/src/org/apache/axis2/wsdl/template/java/PolicyExtensionTemplate.xsl Wed Dec 20 04:23:24 2006
@@ -1,123 +1,140 @@
-
-<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
-
- <xsl:template match="module-codegen-policy-extensions">
-
- <xsl:if test="//createSequence">
- /**
- * Starts a reliabel message sequence
- */
- public void startSequence() {
- _getServiceClient().getOptions().setProperty("START_RM_SEQUENCE", "true");
- }
- </xsl:if>
-
- <xsl:if test="//setLastMessage">
- /**
- * Marks the last message for the sequence
- */
- public void setLastMessage() {
- _getServiceClient().getOptions().setProperty("Sandesha2ClientAPIPropertyWSRMLastMessage", "true");
- }
- </xsl:if>
-
- <xsl:if test="//endSequence">
- /**
- * Terminates the reliabel message sequence
- */
- public void endSequence() {
- _getServiceClient().getOptions().setProperty("END_RM_SEQUENCE", "true");
- }
- </xsl:if>
-
- <xsl:variable name="optimized">
- <xsl:value-of select="//optimizeContent"/>
- </xsl:variable>
-
-
- <xsl:if test="//security-codegen-policy-extensions/usernametoken-action">
- // auto genenrated stub methods
-
- public void setUsername(java.lang.String username) {
- _serviceClient.getOptions().setProperty(org.apache.ws.security.handler.WSHandlerConstants.USER, username);
- }
-
- public void setPassword(java.lang.String password) {
- _UTCallback pwCallback = new _UTCallback();
- pwCallback.setPassword(password);
- _serviceClient
- .getOptions()
- .setProperty(
- org.apache.ws.security.handler.WSHandlerConstants.PASSWORD_TYPE,
- "PasswordText");
- _serviceClient
- .getOptions()
- .setProperty(
- org.apache.ws.security.handler.WSHandlerConstants.PW_CALLBACK_REF,
- pwCallback); }
-
- private class _UTCallback implements
- javax.security.auth.callback.CallbackHandler {
-
- private java.lang.String password;
-
- public _UTCallback() {
- }
-
- public void setPassword(java.lang.String password) {
- this.password = password;
- }
-
- public void handle(javax.security.auth.callback.Callback[] callbacks)
-
- throws java.io.IOException,
- javax.security.auth.callback.UnsupportedCallbackException {
-
- for (int i = 0; i < callbacks.length; i++) {
-
- if (callbacks[i] instanceof org.apache.ws.security.WSPasswordCallback) {
-
- org.apache.ws.security.WSPasswordCallback pc = (org.apache.ws.security.WSPasswordCallback) callbacks[i];
-
- if (pc.getIdentifer().equals(getUsername())) {
- pc.setPassword(password);
-
- } else {
- pc.setPassword(password);
- }
-
- } else {
-
- throw new javax.security.auth.callback.UnsupportedCallbackException(
- callbacks[i], "Unrecognized Callback");
- }
- }
- }
-
- private java.lang.String getUsername() {
- return (String) _serviceClient.getOptions().getProperty(
- org.apache.ws.security.handler.WSHandlerConstants.USER);
- }
- }
- </xsl:if>
-
-
- <xsl:choose>
- <xsl:when test="$optimized">
- private void setOpNameArray(){
- opNameArray = new javax.xml.namespace.QName[] {
- <xsl:for-each select="optimizeContent/opName">
- <xsl:if test="position()>1">,
- </xsl:if>new javax.xml.namespace.QName("<xsl:value-of select="@ns-url"/>","<xsl:value-of select="@localName"/>")
- </xsl:for-each>
- };
- }
- </xsl:when>
- <xsl:otherwise>
- private void setOpNameArray(){
- opNameArray = null;
- }
- </xsl:otherwise>
- </xsl:choose>
- </xsl:template>
+
+<!--
+/*
+ * 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.
+ */
+ -->
+<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+
+ <xsl:template match="module-codegen-policy-extensions">
+
+ <xsl:if test="//createSequence">
+ /**
+ * Starts a reliabel message sequence
+ */
+ public void startSequence() {
+ _getServiceClient().getOptions().setProperty("START_RM_SEQUENCE", "true");
+ }
+ </xsl:if>
+
+ <xsl:if test="//setLastMessage">
+ /**
+ * Marks the last message for the sequence
+ */
+ public void setLastMessage() {
+ _getServiceClient().getOptions().setProperty("Sandesha2ClientAPIPropertyWSRMLastMessage", "true");
+ }
+ </xsl:if>
+
+ <xsl:if test="//endSequence">
+ /**
+ * Terminates the reliabel message sequence
+ */
+ public void endSequence() {
+ _getServiceClient().getOptions().setProperty("END_RM_SEQUENCE", "true");
+ }
+ </xsl:if>
+
+ <xsl:variable name="optimized">
+ <xsl:value-of select="//optimizeContent"/>
+ </xsl:variable>
+
+
+ <xsl:if test="//security-codegen-policy-extensions/usernametoken-action">
+ // auto genenrated stub methods
+
+ public void setUsername(java.lang.String username) {
+ _serviceClient.getOptions().setProperty(org.apache.ws.security.handler.WSHandlerConstants.USER, username);
+ }
+
+ public void setPassword(java.lang.String password) {
+ _UTCallback pwCallback = new _UTCallback();
+ pwCallback.setPassword(password);
+ _serviceClient
+ .getOptions()
+ .setProperty(
+ org.apache.ws.security.handler.WSHandlerConstants.PASSWORD_TYPE,
+ "PasswordText");
+ _serviceClient
+ .getOptions()
+ .setProperty(
+ org.apache.ws.security.handler.WSHandlerConstants.PW_CALLBACK_REF,
+ pwCallback); }
+
+ private class _UTCallback implements
+ javax.security.auth.callback.CallbackHandler {
+
+ private java.lang.String password;
+
+ public _UTCallback() {
+ }
+
+ public void setPassword(java.lang.String password) {
+ this.password = password;
+ }
+
+ public void handle(javax.security.auth.callback.Callback[] callbacks)
+
+ throws java.io.IOException,
+ javax.security.auth.callback.UnsupportedCallbackException {
+
+ for (int i = 0; i < callbacks.length; i++) {
+
+ if (callbacks[i] instanceof org.apache.ws.security.WSPasswordCallback) {
+
+ org.apache.ws.security.WSPasswordCallback pc = (org.apache.ws.security.WSPasswordCallback) callbacks[i];
+
+ if (pc.getIdentifer().equals(getUsername())) {
+ pc.setPassword(password);
+
+ } else {
+ pc.setPassword(password);
+ }
+
+ } else {
+
+ throw new javax.security.auth.callback.UnsupportedCallbackException(
+ callbacks[i], "Unrecognized Callback");
+ }
+ }
+ }
+
+ private java.lang.String getUsername() {
+ return (String) _serviceClient.getOptions().getProperty(
+ org.apache.ws.security.handler.WSHandlerConstants.USER);
+ }
+ }
+ </xsl:if>
+
+
+ <xsl:choose>
+ <xsl:when test="$optimized">
+ private void setOpNameArray(){
+ opNameArray = new javax.xml.namespace.QName[] {
+ <xsl:for-each select="optimizeContent/opName">
+ <xsl:if test="position()>1">,
+ </xsl:if>new javax.xml.namespace.QName("<xsl:value-of select="@ns-url"/>","<xsl:value-of select="@localName"/>")
+ </xsl:for-each>
+ };
+ }
+ </xsl:when>
+ <xsl:otherwise>
+ private void setOpNameArray(){
+ opNameArray = null;
+ }
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:template>
</xsl:stylesheet>
Modified: webservices/axis2/branches/java/1_1/modules/codegen/src/org/apache/axis2/wsdl/template/java/SkeletonInterfaceTemplate.xsl
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/codegen/src/org/apache/axis2/wsdl/template/java/SkeletonInterfaceTemplate.xsl?view=diff&rev=489066&r1=489065&r2=489066
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/codegen/src/org/apache/axis2/wsdl/template/java/SkeletonInterfaceTemplate.xsl (original)
+++ webservices/axis2/branches/java/1_1/modules/codegen/src/org/apache/axis2/wsdl/template/java/SkeletonInterfaceTemplate.xsl 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.
+ */
+ -->
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="text"/>
<xsl:template match="/interface">
Modified: webservices/axis2/branches/java/1_1/modules/codegen/src/org/apache/axis2/wsdl/template/java/SkeletonTemplate.xsl
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/codegen/src/org/apache/axis2/wsdl/template/java/SkeletonTemplate.xsl?view=diff&rev=489066&r1=489065&r2=489066
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/codegen/src/org/apache/axis2/wsdl/template/java/SkeletonTemplate.xsl (original)
+++ webservices/axis2/branches/java/1_1/modules/codegen/src/org/apache/axis2/wsdl/template/java/SkeletonTemplate.xsl 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.
+ */
+ -->
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="text"/>
<xsl:template match="/interface">
Modified: webservices/axis2/branches/java/1_1/modules/codegen/src/org/apache/axis2/wsdl/template/java/TestClassTemplate.xsl
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/codegen/src/org/apache/axis2/wsdl/template/java/TestClassTemplate.xsl?view=diff&rev=489066&r1=489065&r2=489066
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/codegen/src/org/apache/axis2/wsdl/template/java/TestClassTemplate.xsl (original)
+++ webservices/axis2/branches/java/1_1/modules/codegen/src/org/apache/axis2/wsdl/template/java/TestClassTemplate.xsl Wed Dec 20 04:23:24 2006
@@ -1,228 +1,245 @@
-<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
- <xsl:output method="text"/>
- <!-- Incldue the test object creation template -->
- <xsl:include href="testObject"/>
-
- <xsl:template match="/class">
- <xsl:variable name="interfaceName"><xsl:value-of select="@interfaceName"/></xsl:variable>
- <xsl:variable name="package"><xsl:value-of select="@package"/></xsl:variable>
- <xsl:variable name="callbackname"><xsl:value-of select="@callbackname"/></xsl:variable>
- <xsl:variable name="stubname"><xsl:value-of select="@stubname"/></xsl:variable>
- <xsl:variable name="isSync"><xsl:value-of select="@isSync"/></xsl:variable>
- <xsl:variable name="isAsync"><xsl:value-of select="@isAsync"/></xsl:variable>
-
- /**
- * <xsl:value-of select="@name"/>.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis2 version: #axisVersion# #today#
- */
- package <xsl:value-of select="$package"/>;
-
- /*
- * <xsl:value-of select="@name"/> Junit test case
- */
-
- public class <xsl:value-of select="@name"/> extends junit.framework.TestCase{
-
- <xsl:for-each select="method">
- <xsl:if test="@mep='12'">
- <xsl:variable name="outputtype"><xsl:value-of select="output/param/@type"></xsl:value-of></xsl:variable>
- <xsl:if test="$isSync='1'">
- /**
- * Auto generated test method
- */
- public void test<xsl:value-of select="@name"/>() throws java.lang.Exception{
-
- <xsl:value-of select="$package"/>.<xsl:value-of select="$stubname"/> stub =
- new <xsl:value-of select="$package"/>.<xsl:value-of select="$stubname"/>();//the default implementation should point to the right endpoint
-
- <xsl:choose>
- <xsl:when test="count(input/param)>0">
- <xsl:for-each select="input/param[@type!='']">
- <xsl:value-of select="@type"/><xsl:text> </xsl:text><xsl:value-of select="@name"/><xsl:text>=
- </xsl:text>(<xsl:value-of select="@type"/>)getTestObject(<xsl:value-of select="@type"/>.class);
- // todo Fill in the <xsl:value-of select="@name"/> here
- </xsl:for-each>
- <xsl:choose>
- <xsl:when test="$outputtype=''">
- <!-- for now think there is only one input element -->
- //There is no output to be tested!
- stub.<xsl:value-of select="@name"/>(
- <xsl:for-each select="input/param[@type!='']">
- <xsl:variable name="opname" select="@opname"/>
- <xsl:variable name="paramname" select="@name"/>
- <xsl:variable name="paramcount" select="count(param[@type!='' and @opname=$opname])"/>
-
- <xsl:choose>
- <xsl:when test="$paramcount > 0">
- <xsl:for-each select="param[@type!='' and @opname=$opname]">
- <xsl:if test="position()>1">,</xsl:if>get<xsl:value-of select="@partname"/>(<xsl:value-of select="$paramname"/>)
- </xsl:for-each>
- </xsl:when>
- <xsl:otherwise>
- <xsl:if test="@type!=''"><xsl:if test="position()>1">,</xsl:if><xsl:value-of select="@name"/></xsl:if>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:for-each>);
- </xsl:when>
- <xsl:otherwise>
- assertNotNull(stub.<xsl:value-of select="@name"/>(
- <xsl:for-each select="input/param[@type!='']">
-
- <xsl:variable name="opname" select="@opname"/>
- <xsl:variable name="paramname" select="@name"/>
- <xsl:variable name="paramcount" select="count(param[@type!='' and @opname=$opname])"/>
-
- <xsl:choose>
- <xsl:when test="$paramcount > 0">
- <xsl:for-each select="param[@type!='' and @opname=$opname]">
- <xsl:if test="position()>1">,</xsl:if>get<xsl:value-of select="@partname"/>(<xsl:value-of select="$paramname"/>)
- </xsl:for-each>
- </xsl:when>
- <xsl:otherwise>
- <xsl:if test="@type!=''"><xsl:if test="position()>1">,</xsl:if><xsl:value-of select="@name"/></xsl:if>
- </xsl:otherwise>
- </xsl:choose>
- <!-- if the input/param element contain any attributes then we have to unwrap them-->
-
- </xsl:for-each>));
- </xsl:otherwise>
- </xsl:choose>
- </xsl:when>
- <xsl:otherwise>
- <xsl:choose>
- <xsl:when test="$outputtype=''">
- //There is no output to be tested!
- stub.<xsl:value-of select="@name"/>();
- </xsl:when>
- <xsl:otherwise>
- assertNotNull(stub.<xsl:value-of select="@name"/>());
- </xsl:otherwise>
- </xsl:choose>
- </xsl:otherwise>
- </xsl:choose>
-
-
-
- }
- </xsl:if>
- <xsl:if test="$isAsync='1'">
- <xsl:variable name="tempCallbackName">tempCallback<xsl:value-of select="generate-id()"/></xsl:variable>
- /**
- * Auto generated test method
- */
- public void testStart<xsl:value-of select="@name"/>() throws java.lang.Exception{
- <xsl:value-of select="$package"/>.<xsl:value-of select="$stubname"/> stub = new <xsl:value-of select="$package"/>.<xsl:value-of select="$stubname"/>();
- <xsl:choose>
- <xsl:when test="count(input/param)>0">
- <xsl:for-each select="input/param[@type!='']">
- <xsl:value-of select="@type"/><xsl:text> </xsl:text><xsl:value-of select="@name"/><xsl:text>=
- </xsl:text>(<xsl:value-of select="@type"/>)getTestObject(<xsl:value-of select="@type"/>.class);
- // todo Fill in the <xsl:value-of select="@name"/> here
- </xsl:for-each>
-
- stub.start<xsl:value-of select="@name"/>(
- <xsl:for-each select="input/param[@type!='']">
- <xsl:variable name="opname" select="@opname"/>
- <xsl:variable name="paramname" select="@name"/>
- <xsl:variable name="paramcount" select="count(param[@type!='' and @opname=$opname])"/>
-
- <xsl:choose>
- <xsl:when test="$paramcount > 0">
- <xsl:for-each select="param[@type!='' and @opname=$opname]">
- <xsl:if test="position()>1">,</xsl:if>get<xsl:value-of select="@partname"/>(<xsl:value-of select="$paramname"/>)
- </xsl:for-each>
- </xsl:when>
- <xsl:otherwise>
- <xsl:if test="@type!=''"><xsl:if test="position()>1">,</xsl:if><xsl:value-of select="@name"/></xsl:if>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:for-each>,
- new <xsl:value-of select="$tempCallbackName"/>()
- );
- </xsl:when>
- <xsl:otherwise>
- stub.start<xsl:value-of select="@name"/>(
- new <xsl:value-of select="$tempCallbackName"/>()
- );
- </xsl:otherwise>
- </xsl:choose>
-
-
- }
-
- private class <xsl:value-of select="$tempCallbackName"/> extends <xsl:value-of select="$package"/>.<xsl:value-of select="$callbackname"/>{
- public <xsl:value-of select="$tempCallbackName"/>(){ super(null);}
-
- public void receiveResult<xsl:value-of select="@name"/>(org.apache.axis2.client.async.AsyncResult result) {
- assertNotNull(result.getResponseEnvelope().getBody().getFirstElement());
- }
-
- public void receiveError<xsl:value-of select="@name"/>(java.lang.Exception e) {
- fail();
- }
-
- }
- </xsl:if>
- <!-- end of in-out mep -->
- </xsl:if>
- <!-- start of in-only mep-->
- <xsl:if test="@mep='10' or @mep='11'">
- /**
- * Auto generated test method
- */
- public void test<xsl:value-of select="@name"/>() throws java.lang.Exception{
-
- <xsl:value-of select="$package"/>.<xsl:value-of select="$stubname"/> stub =
- new <xsl:value-of select="$package"/>.<xsl:value-of select="$stubname"/>();//the default implementation should point to the right endpoint
- <xsl:choose>
- <xsl:when test="count(input/param)>0">
- <xsl:for-each select="input/param[@type!='']">
- <xsl:value-of select="@type"/><xsl:text> </xsl:text><xsl:value-of select="@name"/><xsl:text>=
- </xsl:text>(<xsl:value-of select="@type"/>)getTestObject(<xsl:value-of select="@type"/>.class);
- // todo Fill in the <xsl:value-of select="@name"/> here
- </xsl:for-each>
-
- //There is no output to be tested!
- stub.<xsl:value-of select="@name"/>(
- <xsl:for-each select="input/param[@type!='']">
- <xsl:variable name="opname" select="@opname"/>
- <xsl:variable name="paramname" select="@name"/>
- <xsl:variable name="paramcount" select="count(param[@type!='' and @opname=$opname])"/>
- <xsl:variable name="shorttype" select="@shorttype"/>
-
- <xsl:choose>
- <xsl:when test="$paramcount > 0">
- <xsl:for-each select="param[@type!='' and @opname=$opname]">
- <xsl:if test="position()>1">,</xsl:if>get<xsl:value-of select="@partname"/>(<xsl:value-of select="$paramname"/>)
- </xsl:for-each>
- </xsl:when>
- <xsl:otherwise>
- <xsl:if test="@type!=''"><xsl:if test="position()>1">,</xsl:if><xsl:value-of select="@name"/></xsl:if>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:for-each>);
-
- </xsl:when>
- <xsl:otherwise>
-
-
- //There is no output to be tested!
- stub.<xsl:value-of select="@name"/>();
-
-
- </xsl:otherwise>
- </xsl:choose>
- }
- </xsl:if>
-
- </xsl:for-each>
-
- <!-- generate the test object -->
- <xsl:apply-templates/>
-
- }
- </xsl:template>
-
+<!--
+/*
+ * 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.
+ */
+ -->
+<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+ <xsl:output method="text"/>
+ <!-- Incldue the test object creation template -->
+ <xsl:include href="testObject"/>
+
+ <xsl:template match="/class">
+ <xsl:variable name="interfaceName"><xsl:value-of select="@interfaceName"/></xsl:variable>
+ <xsl:variable name="package"><xsl:value-of select="@package"/></xsl:variable>
+ <xsl:variable name="callbackname"><xsl:value-of select="@callbackname"/></xsl:variable>
+ <xsl:variable name="stubname"><xsl:value-of select="@stubname"/></xsl:variable>
+ <xsl:variable name="isSync"><xsl:value-of select="@isSync"/></xsl:variable>
+ <xsl:variable name="isAsync"><xsl:value-of select="@isAsync"/></xsl:variable>
+
+ /**
+ * <xsl:value-of select="@name"/>.java
+ *
+ * This file was auto-generated from WSDL
+ * by the Apache Axis2 version: #axisVersion# #today#
+ */
+ package <xsl:value-of select="$package"/>;
+
+ /*
+ * <xsl:value-of select="@name"/> Junit test case
+ */
+
+ public class <xsl:value-of select="@name"/> extends junit.framework.TestCase{
+
+ <xsl:for-each select="method">
+ <xsl:if test="@mep='12'">
+ <xsl:variable name="outputtype"><xsl:value-of select="output/param/@type"></xsl:value-of></xsl:variable>
+ <xsl:if test="$isSync='1'">
+ /**
+ * Auto generated test method
+ */
+ public void test<xsl:value-of select="@name"/>() throws java.lang.Exception{
+
+ <xsl:value-of select="$package"/>.<xsl:value-of select="$stubname"/> stub =
+ new <xsl:value-of select="$package"/>.<xsl:value-of select="$stubname"/>();//the default implementation should point to the right endpoint
+
+ <xsl:choose>
+ <xsl:when test="count(input/param)>0">
+ <xsl:for-each select="input/param[@type!='']">
+ <xsl:value-of select="@type"/><xsl:text> </xsl:text><xsl:value-of select="@name"/><xsl:text>=
+ </xsl:text>(<xsl:value-of select="@type"/>)getTestObject(<xsl:value-of select="@type"/>.class);
+ // todo Fill in the <xsl:value-of select="@name"/> here
+ </xsl:for-each>
+ <xsl:choose>
+ <xsl:when test="$outputtype=''">
+ <!-- for now think there is only one input element -->
+ //There is no output to be tested!
+ stub.<xsl:value-of select="@name"/>(
+ <xsl:for-each select="input/param[@type!='']">
+ <xsl:variable name="opname" select="@opname"/>
+ <xsl:variable name="paramname" select="@name"/>
+ <xsl:variable name="paramcount" select="count(param[@type!='' and @opname=$opname])"/>
+
+ <xsl:choose>
+ <xsl:when test="$paramcount > 0">
+ <xsl:for-each select="param[@type!='' and @opname=$opname]">
+ <xsl:if test="position()>1">,</xsl:if>get<xsl:value-of select="@partname"/>(<xsl:value-of select="$paramname"/>)
+ </xsl:for-each>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:if test="@type!=''"><xsl:if test="position()>1">,</xsl:if><xsl:value-of select="@name"/></xsl:if>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:for-each>);
+ </xsl:when>
+ <xsl:otherwise>
+ assertNotNull(stub.<xsl:value-of select="@name"/>(
+ <xsl:for-each select="input/param[@type!='']">
+
+ <xsl:variable name="opname" select="@opname"/>
+ <xsl:variable name="paramname" select="@name"/>
+ <xsl:variable name="paramcount" select="count(param[@type!='' and @opname=$opname])"/>
+
+ <xsl:choose>
+ <xsl:when test="$paramcount > 0">
+ <xsl:for-each select="param[@type!='' and @opname=$opname]">
+ <xsl:if test="position()>1">,</xsl:if>get<xsl:value-of select="@partname"/>(<xsl:value-of select="$paramname"/>)
+ </xsl:for-each>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:if test="@type!=''"><xsl:if test="position()>1">,</xsl:if><xsl:value-of select="@name"/></xsl:if>
+ </xsl:otherwise>
+ </xsl:choose>
+ <!-- if the input/param element contain any attributes then we have to unwrap them-->
+
+ </xsl:for-each>));
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:choose>
+ <xsl:when test="$outputtype=''">
+ //There is no output to be tested!
+ stub.<xsl:value-of select="@name"/>();
+ </xsl:when>
+ <xsl:otherwise>
+ assertNotNull(stub.<xsl:value-of select="@name"/>());
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:otherwise>
+ </xsl:choose>
+
+
+
+ }
+ </xsl:if>
+ <xsl:if test="$isAsync='1'">
+ <xsl:variable name="tempCallbackName">tempCallback<xsl:value-of select="generate-id()"/></xsl:variable>
+ /**
+ * Auto generated test method
+ */
+ public void testStart<xsl:value-of select="@name"/>() throws java.lang.Exception{
+ <xsl:value-of select="$package"/>.<xsl:value-of select="$stubname"/> stub = new <xsl:value-of select="$package"/>.<xsl:value-of select="$stubname"/>();
+ <xsl:choose>
+ <xsl:when test="count(input/param)>0">
+ <xsl:for-each select="input/param[@type!='']">
+ <xsl:value-of select="@type"/><xsl:text> </xsl:text><xsl:value-of select="@name"/><xsl:text>=
+ </xsl:text>(<xsl:value-of select="@type"/>)getTestObject(<xsl:value-of select="@type"/>.class);
+ // todo Fill in the <xsl:value-of select="@name"/> here
+ </xsl:for-each>
+
+ stub.start<xsl:value-of select="@name"/>(
+ <xsl:for-each select="input/param[@type!='']">
+ <xsl:variable name="opname" select="@opname"/>
+ <xsl:variable name="paramname" select="@name"/>
+ <xsl:variable name="paramcount" select="count(param[@type!='' and @opname=$opname])"/>
+
+ <xsl:choose>
+ <xsl:when test="$paramcount > 0">
+ <xsl:for-each select="param[@type!='' and @opname=$opname]">
+ <xsl:if test="position()>1">,</xsl:if>get<xsl:value-of select="@partname"/>(<xsl:value-of select="$paramname"/>)
+ </xsl:for-each>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:if test="@type!=''"><xsl:if test="position()>1">,</xsl:if><xsl:value-of select="@name"/></xsl:if>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:for-each>,
+ new <xsl:value-of select="$tempCallbackName"/>()
+ );
+ </xsl:when>
+ <xsl:otherwise>
+ stub.start<xsl:value-of select="@name"/>(
+ new <xsl:value-of select="$tempCallbackName"/>()
+ );
+ </xsl:otherwise>
+ </xsl:choose>
+
+
+ }
+
+ private class <xsl:value-of select="$tempCallbackName"/> extends <xsl:value-of select="$package"/>.<xsl:value-of select="$callbackname"/>{
+ public <xsl:value-of select="$tempCallbackName"/>(){ super(null);}
+
+ public void receiveResult<xsl:value-of select="@name"/>(org.apache.axis2.client.async.AsyncResult result) {
+ assertNotNull(result.getResponseEnvelope().getBody().getFirstElement());
+ }
+
+ public void receiveError<xsl:value-of select="@name"/>(java.lang.Exception e) {
+ fail();
+ }
+
+ }
+ </xsl:if>
+ <!-- end of in-out mep -->
+ </xsl:if>
+ <!-- start of in-only mep-->
+ <xsl:if test="@mep='10' or @mep='11'">
+ /**
+ * Auto generated test method
+ */
+ public void test<xsl:value-of select="@name"/>() throws java.lang.Exception{
+
+ <xsl:value-of select="$package"/>.<xsl:value-of select="$stubname"/> stub =
+ new <xsl:value-of select="$package"/>.<xsl:value-of select="$stubname"/>();//the default implementation should point to the right endpoint
+ <xsl:choose>
+ <xsl:when test="count(input/param)>0">
+ <xsl:for-each select="input/param[@type!='']">
+ <xsl:value-of select="@type"/><xsl:text> </xsl:text><xsl:value-of select="@name"/><xsl:text>=
+ </xsl:text>(<xsl:value-of select="@type"/>)getTestObject(<xsl:value-of select="@type"/>.class);
+ // todo Fill in the <xsl:value-of select="@name"/> here
+ </xsl:for-each>
+
+ //There is no output to be tested!
+ stub.<xsl:value-of select="@name"/>(
+ <xsl:for-each select="input/param[@type!='']">
+ <xsl:variable name="opname" select="@opname"/>
+ <xsl:variable name="paramname" select="@name"/>
+ <xsl:variable name="paramcount" select="count(param[@type!='' and @opname=$opname])"/>
+ <xsl:variable name="shorttype" select="@shorttype"/>
+
+ <xsl:choose>
+ <xsl:when test="$paramcount > 0">
+ <xsl:for-each select="param[@type!='' and @opname=$opname]">
+ <xsl:if test="position()>1">,</xsl:if>get<xsl:value-of select="@partname"/>(<xsl:value-of select="$paramname"/>)
+ </xsl:for-each>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:if test="@type!=''"><xsl:if test="position()>1">,</xsl:if><xsl:value-of select="@name"/></xsl:if>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:for-each>);
+
+ </xsl:when>
+ <xsl:otherwise>
+
+
+ //There is no output to be tested!
+ stub.<xsl:value-of select="@name"/>();
+
+
+ </xsl:otherwise>
+ </xsl:choose>
+ }
+ </xsl:if>
+
+ </xsl:for-each>
+
+ <!-- generate the test object -->
+ <xsl:apply-templates/>
+
+ }
+ </xsl:template>
+
</xsl:stylesheet>
Modified: webservices/axis2/branches/java/1_1/modules/codegen/src/org/apache/axis2/wsdl/template/java/TestObjectCreationTemplate.xsl
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/codegen/src/org/apache/axis2/wsdl/template/java/TestObjectCreationTemplate.xsl?view=diff&rev=489066&r1=489065&r2=489066
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/codegen/src/org/apache/axis2/wsdl/template/java/TestObjectCreationTemplate.xsl (original)
+++ webservices/axis2/branches/java/1_1/modules/codegen/src/org/apache/axis2/wsdl/template/java/TestObjectCreationTemplate.xsl 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.
+ */
+ -->
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="text"/>
<xsl:key name="paramsIn" match="//databinders/param[@direction='in']" use="@type"/>
Modified: webservices/axis2/branches/java/1_1/modules/codegen/src/org/apache/axis2/wsdl/template/java/package.html
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/codegen/src/org/apache/axis2/wsdl/template/java/package.html?view=diff&rev=489066&r1=489065&r2=489066
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/codegen/src/org/apache/axis2/wsdl/template/java/package.html (original)
+++ webservices/axis2/branches/java/1_1/modules/codegen/src/org/apache/axis2/wsdl/template/java/package.html 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.
+ */
+ -->
<html>
<body>
This package is a "non class containing" one that has the xsl templates for the Java class generation
Modified: webservices/axis2/branches/java/1_1/modules/codegen/test-resources/schemas/schema-1.xsd
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/codegen/test-resources/schemas/schema-1.xsd?view=diff&rev=489066&r1=489065&r2=489066
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/codegen/test-resources/schemas/schema-1.xsd (original)
+++ webservices/axis2/branches/java/1_1/modules/codegen/test-resources/schemas/schema-1.xsd Wed Dec 20 04:23:24 2006
@@ -1,16 +1,32 @@
-<!--
- AddRequest is a complex type
--->
-
-<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified"
- targetNamespace="http://ws.apache.org/schemas/axis2" xmlns="http://ws.apache.org/schemas/axis2"
- xmlns:ns="http://ws.apache.org/schemas/axis2" xmlns:xs="http://www.w3.org/2001/XMLSchema">
- <xs:element name="AddRequest">
- <xs:complexType>
- <xs:sequence>
- <xs:element maxOccurs="1" minOccurs="1" name="ParameterOne" type="xs:int"/>
- <xs:element maxOccurs="1" minOccurs="1" name="ParameterTwo" type="xs:string"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
+<!--
+ AddRequest is a complex type
+-->
+<!--
+/*
+ * 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.
+ */
+ -->
+<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified"
+ targetNamespace="http://ws.apache.org/schemas/axis2" xmlns="http://ws.apache.org/schemas/axis2"
+ xmlns:ns="http://ws.apache.org/schemas/axis2" xmlns:xs="http://www.w3.org/2001/XMLSchema">
+ <xs:element name="AddRequest">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element maxOccurs="1" minOccurs="1" name="ParameterOne" type="xs:int"/>
+ <xs:element maxOccurs="1" minOccurs="1" name="ParameterTwo" type="xs:string"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
</xs:schema>
Modified: webservices/axis2/branches/java/1_1/modules/codegen/test-resources/schemas/schema-2.xsd
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/codegen/test-resources/schemas/schema-2.xsd?view=diff&rev=489066&r1=489065&r2=489066
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/codegen/test-resources/schemas/schema-2.xsd (original)
+++ webservices/axis2/branches/java/1_1/modules/codegen/test-resources/schemas/schema-2.xsd Wed Dec 20 04:23:24 2006
@@ -1,16 +1,32 @@
-<!--
- 1. AddRequest is of AddRequestType
- 2. AddRequestType has a sequence
--->
-
-<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified"
- targetNamespace="http://ws.apache.org/schemas/axis2" xmlns="http://ws.apache.org/schemas/axis2"
- xmlns:ns="http://ws.apache.org/schemas/axis2" xmlns:xs="http://www.w3.org/2001/XMLSchema">
- <xs:element name="AddRequest" type="AddRequestType"/>
- <xs:complexType name="AddRequestType">
- <xs:sequence>
- <xs:element maxOccurs="1" minOccurs="1" name="ParameterOne" type="xs:int"/>
- <xs:element maxOccurs="1" minOccurs="1" name="ParameterTwo" type="xs:string"/>
- </xs:sequence>
- </xs:complexType>
+<!--
+ 1. AddRequest is of AddRequestType
+ 2. AddRequestType has a sequence
+-->
+<!--
+/*
+ * 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.
+ */
+ -->
+<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified"
+ targetNamespace="http://ws.apache.org/schemas/axis2" xmlns="http://ws.apache.org/schemas/axis2"
+ xmlns:ns="http://ws.apache.org/schemas/axis2" xmlns:xs="http://www.w3.org/2001/XMLSchema">
+ <xs:element name="AddRequest" type="AddRequestType"/>
+ <xs:complexType name="AddRequestType">
+ <xs:sequence>
+ <xs:element maxOccurs="1" minOccurs="1" name="ParameterOne" type="xs:int"/>
+ <xs:element maxOccurs="1" minOccurs="1" name="ParameterTwo" type="xs:string"/>
+ </xs:sequence>
+ </xs:complexType>
</xs:schema>
Modified: webservices/axis2/branches/java/1_1/modules/codegen/test-resources/schemas/schema-3.xsd
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/codegen/test-resources/schemas/schema-3.xsd?view=diff&rev=489066&r1=489065&r2=489066
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/codegen/test-resources/schemas/schema-3.xsd (original)
+++ webservices/axis2/branches/java/1_1/modules/codegen/test-resources/schemas/schema-3.xsd Wed Dec 20 04:23:24 2006
@@ -1,25 +1,41 @@
-
-<!--
- 1. AddRequest is of AddRequestType
- 2. AddRequestType extends from AbstractParameterType
- 3. AbstractParameterType has primitive types only
- -->
-
-<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified"
- targetNamespace="http://ws.apache.org/schemas/axis2" xmlns="http://ws.apache.org/schemas/axis2"
- xmlns:ns="http://ws.apache.org/schemas/axis2" xmlns:xs="http://www.w3.org/2001/XMLSchema">
- <xs:element name="AddRequest" type="AddRequestType"/>
- <xs:complexType name="AddRequestType">
- <xs:complexContent>
- <xs:extension base="ns:AbstractParameterType">
- <xs:sequence/>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType abstract="true" name="AbstractParameterType">
- <xs:sequence>
- <xs:element maxOccurs="1" minOccurs="1" name="ParameterOne" type="xs:int"/>
- <xs:element maxOccurs="1" minOccurs="1" name="ParameterTwo" type="xs:string"/>
- </xs:sequence>
- </xs:complexType>
+
+<!--
+ 1. AddRequest is of AddRequestType
+ 2. AddRequestType extends from AbstractParameterType
+ 3. AbstractParameterType has primitive types only
+ -->
+<!--
+/*
+ * 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.
+ */
+ -->
+<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified"
+ targetNamespace="http://ws.apache.org/schemas/axis2" xmlns="http://ws.apache.org/schemas/axis2"
+ xmlns:ns="http://ws.apache.org/schemas/axis2" xmlns:xs="http://www.w3.org/2001/XMLSchema">
+ <xs:element name="AddRequest" type="AddRequestType"/>
+ <xs:complexType name="AddRequestType">
+ <xs:complexContent>
+ <xs:extension base="ns:AbstractParameterType">
+ <xs:sequence/>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+ <xs:complexType abstract="true" name="AbstractParameterType">
+ <xs:sequence>
+ <xs:element maxOccurs="1" minOccurs="1" name="ParameterOne" type="xs:int"/>
+ <xs:element maxOccurs="1" minOccurs="1" name="ParameterTwo" type="xs:string"/>
+ </xs:sequence>
+ </xs:complexType>
</xs:schema>
Modified: webservices/axis2/branches/java/1_1/modules/codegen/test-resources/schemas/schema-4.xsd
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/codegen/test-resources/schemas/schema-4.xsd?view=diff&rev=489066&r1=489065&r2=489066
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/codegen/test-resources/schemas/schema-4.xsd (original)
+++ webservices/axis2/branches/java/1_1/modules/codegen/test-resources/schemas/schema-4.xsd Wed Dec 20 04:23:24 2006
@@ -1,28 +1,44 @@
-<!--
- 1. AddRequest is of AddRequestType
- 2. AddRequestType extends from AbstractParameterType and it AddRequestType has more stuff defined in a sequence, in
- addition to the extension.
- 3. AbstractParameterType has primitive types only
--->
-
-<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified"
- targetNamespace="http://ws.apache.org/schemas/axis2" xmlns="http://ws.apache.org/schemas/axis2"
- xmlns:ns="http://ws.apache.org/schemas/axis2" xmlns:xs="http://www.w3.org/2001/XMLSchema">
- <xs:element name="AddRequest" type="AddRequestType"/>
- <xs:complexType name="AddRequestType">
- <xs:complexContent>
- <xs:extension base="ns:AbstractParameterType">
- <xs:sequence>
- <xs:element maxOccurs="1" minOccurs="1" name="ParameterThree" type="xs:int"/>
- <xs:element maxOccurs="1" minOccurs="1" name="ParameterFour" type="xs:string"/>
- </xs:sequence>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType abstract="true" name="AbstractParameterType">
- <xs:sequence>
- <xs:element maxOccurs="1" minOccurs="1" name="ParameterOne" type="xs:int"/>
- <xs:element maxOccurs="1" minOccurs="1" name="ParameterTwo" type="xs:string"/>
- </xs:sequence>
- </xs:complexType>
+<!--
+ 1. AddRequest is of AddRequestType
+ 2. AddRequestType extends from AbstractParameterType and it AddRequestType has more stuff defined in a sequence, in
+ addition to the extension.
+ 3. AbstractParameterType has primitive types only
+-->
+<!--
+/*
+ * 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.
+ */
+ -->
+<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified"
+ targetNamespace="http://ws.apache.org/schemas/axis2" xmlns="http://ws.apache.org/schemas/axis2"
+ xmlns:ns="http://ws.apache.org/schemas/axis2" xmlns:xs="http://www.w3.org/2001/XMLSchema">
+ <xs:element name="AddRequest" type="AddRequestType"/>
+ <xs:complexType name="AddRequestType">
+ <xs:complexContent>
+ <xs:extension base="ns:AbstractParameterType">
+ <xs:sequence>
+ <xs:element maxOccurs="1" minOccurs="1" name="ParameterThree" type="xs:int"/>
+ <xs:element maxOccurs="1" minOccurs="1" name="ParameterFour" type="xs:string"/>
+ </xs:sequence>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+ <xs:complexType abstract="true" name="AbstractParameterType">
+ <xs:sequence>
+ <xs:element maxOccurs="1" minOccurs="1" name="ParameterOne" type="xs:int"/>
+ <xs:element maxOccurs="1" minOccurs="1" name="ParameterTwo" type="xs:string"/>
+ </xs:sequence>
+ </xs:complexType>
</xs:schema>
Modified: webservices/axis2/branches/java/1_1/modules/codegen/test-resources/xmls/MultiDimArray.xml
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/codegen/test-resources/xmls/MultiDimArray.xml?view=diff&rev=489066&r1=489065&r2=489066
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/codegen/test-resources/xmls/MultiDimArray.xml (original)
+++ webservices/axis2/branches/java/1_1/modules/codegen/test-resources/xmls/MultiDimArray.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.
+ */
+ -->
<wrapper>
<item>
<inner>one</inner>
Modified: webservices/axis2/branches/java/1_1/modules/codegen/test-resources/xmls/axis2.xml
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/codegen/test-resources/xmls/axis2.xml?view=diff&rev=489066&r1=489065&r2=489066
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/codegen/test-resources/xmls/axis2.xml (original)
+++ webservices/axis2/branches/java/1_1/modules/codegen/test-resources/xmls/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/build.xml
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/integration/build.xml?view=diff&rev=489066&r1=489065&r2=489066
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/integration/build.xml (original)
+++ webservices/axis2/branches/java/1_1/modules/integration/build.xml Wed Dec 20 04:23:24 2006
@@ -1,5 +1,21 @@
<?xml version="1.0"?>
-
+<!--
+/*
+ * 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.
+ */
+ -->
<project name="interop-doclit" default="main" basedir=".">
<description>
Interop tests for doc-lit, code generated samples
Modified: webservices/axis2/branches/java/1_1/modules/integration/conf/axis2.xml
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/integration/conf/axis2.xml?view=diff&rev=489066&r1=489065&r2=489066
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/integration/conf/axis2.xml (original)
+++ webservices/axis2/branches/java/1_1/modules/integration/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/integration/itest-resources/WSDLs/aspnetInteropTestDocLit.wsdl
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/integration/itest-resources/WSDLs/aspnetInteropTestDocLit.wsdl?view=diff&rev=489066&r1=489065&r2=489066
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/integration/itest-resources/WSDLs/aspnetInteropTestDocLit.wsdl (original)
+++ webservices/axis2/branches/java/1_1/modules/integration/itest-resources/WSDLs/aspnetInteropTestDocLit.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:s1="http://soapinterop.org" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:s0="http://soapinterop.org/xsd" xmlns:s2="http://soapinterop.org/AbstractTypes" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" targetNamespace="http://soapinterop.org" xmlns="http://schemas.xmlsoap.org/wsdl/">
<types>
<s:schema elementFormDefault="qualified" targetNamespace="http://soapinterop.org/xsd">
Modified: webservices/axis2/branches/java/1_1/modules/integration/itest-resources/WSDLs/aspnetInteropTestDocLitParameters.wsdl
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/integration/itest-resources/WSDLs/aspnetInteropTestDocLitParameters.wsdl?view=diff&rev=489066&r1=489065&r2=489066
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/integration/itest-resources/WSDLs/aspnetInteropTestDocLitParameters.wsdl (original)
+++ webservices/axis2/branches/java/1_1/modules/integration/itest-resources/WSDLs/aspnetInteropTestDocLitParameters.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:s1="http://soapinterop.org/AbstractTypes" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:s0="http://soapinterop.org/xsd" xmlns:s2="http://soapinterop.org" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" targetNamespace="http://soapinterop.org" xmlns="http://schemas.xmlsoap.org/wsdl/">
<types>
<s:schema elementFormDefault="qualified" targetNamespace="http://soapinterop.org/xsd">
Modified: webservices/axis2/branches/java/1_1/modules/integration/itest-resources/WSDLs/aspnetcompound1.wsdl
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/integration/itest-resources/WSDLs/aspnetcompound1.wsdl?view=diff&rev=489066&r1=489065&r2=489066
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/integration/itest-resources/WSDLs/aspnetcompound1.wsdl (original)
+++ webservices/axis2/branches/java/1_1/modules/integration/itest-resources/WSDLs/aspnetcompound1.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:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:s0="http://soapinterop.org/xsd" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="http://soapinterop.org" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" targetNamespace="http://soapinterop.org" xmlns="http://schemas.xmlsoap.org/wsdl/">
<types>
<s:schema elementFormDefault="qualified" targetNamespace="http://soapinterop.org/xsd">
Modified: webservices/axis2/branches/java/1_1/modules/integration/itest-resources/WSDLs/aspnetcompound2.wsdl
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/integration/itest-resources/WSDLs/aspnetcompound2.wsdl?view=diff&rev=489066&r1=489065&r2=489066
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/integration/itest-resources/WSDLs/aspnetcompound2.wsdl (original)
+++ webservices/axis2/branches/java/1_1/modules/integration/itest-resources/WSDLs/aspnetcompound2.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:s1="http://soapinterop.org/person" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:s0="http://soapinterop.org/employee" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="http://soapinterop.org" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" targetNamespace="http://soapinterop.org" xmlns="http://schemas.xmlsoap.org/wsdl/">
<types>
<s:schema elementFormDefault="qualified" targetNamespace="http://soapinterop.org/employee">
Modified: webservices/axis2/branches/java/1_1/modules/integration/itest-resources/WSDLs/compound1.wsdl
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/integration/itest-resources/WSDLs/compound1.wsdl?view=diff&rev=489066&r1=489065&r2=489066
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/integration/itest-resources/WSDLs/compound1.wsdl (original)
+++ webservices/axis2/branches/java/1_1/modules/integration/itest-resources/WSDLs/compound1.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 name="SoapInteropCompound"
targetNamespace="http://soapinterop.org/"
xmlns:wsdlns="http://soapinterop.org/"
Modified: webservices/axis2/branches/java/1_1/modules/integration/itest-resources/WSDLs/compound2.wsdl
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/integration/itest-resources/WSDLs/compound2.wsdl?view=diff&rev=489066&r1=489065&r2=489066
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/integration/itest-resources/WSDLs/compound2.wsdl (original)
+++ webservices/axis2/branches/java/1_1/modules/integration/itest-resources/WSDLs/compound2.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 name="SoapInteropCompound" targetNamespace="http://soapinterop.org/"
xmlns:wsdlns="http://soapinterop.org/"
xmlns:emp="http://soapinterop.org/employee"
Modified: webservices/axis2/branches/java/1_1/modules/integration/itest-resources/WSDLs/interoptestdoclit.wsdl
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/integration/itest-resources/WSDLs/interoptestdoclit.wsdl?view=diff&rev=489066&r1=489065&r2=489066
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/integration/itest-resources/WSDLs/interoptestdoclit.wsdl (original)
+++ webservices/axis2/branches/java/1_1/modules/integration/itest-resources/WSDLs/interoptestdoclit.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 name="WSDLInteropTestDocLitService"
targetNamespace="http://soapinterop.org/WSDLInteropTestDocLit"
xmlns="http://schemas.xmlsoap.org/wsdl/"
Modified: webservices/axis2/branches/java/1_1/modules/integration/itest-resources/WSDLs/interoptestdoclitparameters.wsdl
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/integration/itest-resources/WSDLs/interoptestdoclitparameters.wsdl?view=diff&rev=489066&r1=489065&r2=489066
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/integration/itest-resources/WSDLs/interoptestdoclitparameters.wsdl (original)
+++ webservices/axis2/branches/java/1_1/modules/integration/itest-resources/WSDLs/interoptestdoclitparameters.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 name="WSDLInteropTestDocLitService"
targetNamespace="http://soapinterop.org/WSDLInteropTestDocLit"
xmlns="http://schemas.xmlsoap.org/wsdl/"
Modified: webservices/axis2/branches/java/1_1/modules/integration/itest-resources/WSDLs/interoptestheaders.wsdl
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/integration/itest-resources/WSDLs/interoptestheaders.wsdl?view=diff&rev=489066&r1=489065&r2=489066
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/integration/itest-resources/WSDLs/interoptestheaders.wsdl (original)
+++ webservices/axis2/branches/java/1_1/modules/integration/itest-resources/WSDLs/interoptestheaders.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:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:s="http://www.w3.org/2001/XMLSchema"
Modified: webservices/axis2/branches/java/1_1/modules/integration/itest-resources/WSDLs/stkv3Compound1.wsdl
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/integration/itest-resources/WSDLs/stkv3Compound1.wsdl?view=diff&rev=489066&r1=489065&r2=489066
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/integration/itest-resources/WSDLs/stkv3Compound1.wsdl (original)
+++ webservices/axis2/branches/java/1_1/modules/integration/itest-resources/WSDLs/stkv3Compound1.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 name="SoapInteropCompound"
targetNamespace="http://soapinterop.org/"
xmlns:wsdlns="http://soapinterop.org/"
Modified: webservices/axis2/branches/java/1_1/modules/integration/itest-resources/WSDLs/stkv3Compound2.wsdl
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/integration/itest-resources/WSDLs/stkv3Compound2.wsdl?view=diff&rev=489066&r1=489065&r2=489066
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/integration/itest-resources/WSDLs/stkv3Compound2.wsdl (original)
+++ webservices/axis2/branches/java/1_1/modules/integration/itest-resources/WSDLs/stkv3Compound2.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 name="SoapInteropCompound" targetNamespace="http://soapinterop.org/"
xmlns:wsdlns="http://soapinterop.org/"
xmlns:emp="http://soapinterop.org/employee"
Modified: webservices/axis2/branches/java/1_1/modules/integration/itest-resources/WSDLs/stkv3interopTestDocLit.wsdl
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/integration/itest-resources/WSDLs/stkv3interopTestDocLit.wsdl?view=diff&rev=489066&r1=489065&r2=489066
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/integration/itest-resources/WSDLs/stkv3interopTestDocLit.wsdl (original)
+++ webservices/axis2/branches/java/1_1/modules/integration/itest-resources/WSDLs/stkv3interopTestDocLit.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 name="WSDLInteropTestDocLitService"
targetNamespace="http://soapinterop.org/WSDLInteropTestDocLit"
xmlns="http://schemas.xmlsoap.org/wsdl/"
Modified: webservices/axis2/branches/java/1_1/modules/integration/itest-resources/WSDLs/stkv3interopTestDocLitParameters.wsdl
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/integration/itest-resources/WSDLs/stkv3interopTestDocLitParameters.wsdl?view=diff&rev=489066&r1=489065&r2=489066
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/integration/itest-resources/WSDLs/stkv3interopTestDocLitParameters.wsdl (original)
+++ webservices/axis2/branches/java/1_1/modules/integration/itest-resources/WSDLs/stkv3interopTestDocLitParameters.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 name="WSDLInteropTestDocLitService"
targetNamespace="http://soapinterop.org/WSDLInteropTestDocLit"
xmlns="http://schemas.xmlsoap.org/wsdl/"
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org