You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-commits@axis.apache.org by sa...@apache.org on 2013/07/14 05:37:33 UTC

svn commit: r1502933 - in /axis/axis2/java/core/trunk/modules/tool/axis2-wsdl2code-maven-plugin/src/test/test2: ./ pom.xml src/ src/main/ src/main/axis2/ src/main/axis2/test dir/ src/main/axis2/test dir/service.wsdl src/main/axis2/test dir/service.xsd

Author: sagara
Date: Sun Jul 14 03:37:33 2013
New Revision: 1502933

URL: http://svn.apache.org/r1502933
Log:
Adding missing files for AXIS2-4630

Added:
    axis/axis2/java/core/trunk/modules/tool/axis2-wsdl2code-maven-plugin/src/test/test2/
    axis/axis2/java/core/trunk/modules/tool/axis2-wsdl2code-maven-plugin/src/test/test2/pom.xml   (with props)
    axis/axis2/java/core/trunk/modules/tool/axis2-wsdl2code-maven-plugin/src/test/test2/src/
    axis/axis2/java/core/trunk/modules/tool/axis2-wsdl2code-maven-plugin/src/test/test2/src/main/
    axis/axis2/java/core/trunk/modules/tool/axis2-wsdl2code-maven-plugin/src/test/test2/src/main/axis2/
    axis/axis2/java/core/trunk/modules/tool/axis2-wsdl2code-maven-plugin/src/test/test2/src/main/axis2/test dir/
    axis/axis2/java/core/trunk/modules/tool/axis2-wsdl2code-maven-plugin/src/test/test2/src/main/axis2/test dir/service.wsdl   (with props)
    axis/axis2/java/core/trunk/modules/tool/axis2-wsdl2code-maven-plugin/src/test/test2/src/main/axis2/test dir/service.xsd   (with props)

Added: axis/axis2/java/core/trunk/modules/tool/axis2-wsdl2code-maven-plugin/src/test/test2/pom.xml
URL: http://svn.apache.org/viewvc/axis/axis2/java/core/trunk/modules/tool/axis2-wsdl2code-maven-plugin/src/test/test2/pom.xml?rev=1502933&view=auto
==============================================================================
--- axis/axis2/java/core/trunk/modules/tool/axis2-wsdl2code-maven-plugin/src/test/test2/pom.xml (added)
+++ axis/axis2/java/core/trunk/modules/tool/axis2-wsdl2code-maven-plugin/src/test/test2/pom.xml Sun Jul 14 03:37:33 2013
@@ -0,0 +1,45 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+  ~ Licensed to the Apache Software Foundation (ASF) under one
+  ~ or more contributor license agreements. See the NOTICE file
+  ~ distributed with this work for additional information
+  ~ regarding copyright ownership. The ASF licenses this file
+  ~ to you 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>
+    <modelVersion>4.0.0</modelVersion>
+    <groupId>org.apache.axis2.maven2</groupId>
+    <artifactId>axis2-wsdl2code-maven-plugin-test1</artifactId>
+    <version>SNAPSHOT</version>
+    <name>Test 2 of the axis2-wsdl2code-maven-plugin to test
+        schema import with space character in wsdl location path</name>
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.axis2</groupId>
+                <artifactId>axis2-wsdl2code-maven-plugin</artifactId>
+                <version>SNAPSHOT</version>
+                <configuration>
+                    <generateServerSide>true</generateServerSide>
+                    <generateServerSideInterface>true</generateServerSideInterface>
+                    <generateAllClasses>true</generateAllClasses>
+                    <generateServicesXml>true</generateServicesXml>
+                    <packageName>demo2</packageName>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+</project>

Propchange: axis/axis2/java/core/trunk/modules/tool/axis2-wsdl2code-maven-plugin/src/test/test2/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: axis/axis2/java/core/trunk/modules/tool/axis2-wsdl2code-maven-plugin/src/test/test2/src/main/axis2/test dir/service.wsdl
URL: http://svn.apache.org/viewvc/axis/axis2/java/core/trunk/modules/tool/axis2-wsdl2code-maven-plugin/src/test/test2/src/main/axis2/test%20dir/service.wsdl?rev=1502933&view=auto
==============================================================================
--- axis/axis2/java/core/trunk/modules/tool/axis2-wsdl2code-maven-plugin/src/test/test2/src/main/axis2/test dir/service.wsdl (added)
+++ axis/axis2/java/core/trunk/modules/tool/axis2-wsdl2code-maven-plugin/src/test/test2/src/main/axis2/test dir/service.wsdl Sun Jul 14 03:37:33 2013
@@ -0,0 +1,106 @@
+<!--
+  ~ Licensed to the Apache Software Foundation (ASF) under one
+  ~ or more contributor license agreements. See the NOTICE file
+  ~ distributed with this work for additional information
+  ~ regarding copyright ownership. The ASF licenses this file
+  ~ to you 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:axis2="http://ws.apache.org/axis2"
+    xmlns:ns1="http://org.apache.axis2/xsd"
+    xmlns:xs="http://www.w3.org/2001/XMLSchema"
+    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
+    xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
+    xmlns:ns="http://axisversion.sample/xsd"
+    xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
+    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
+    xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"
+    targetNamespace="http://ws.apache.org/axis2">
+  <wsdl:documentation>
+    xDWS service example
+  </wsdl:documentation>
+    <wsdl:types>
+        <xs:schema>
+            <xs:import
+                    namespace="http://axisversion.sample/xsd"
+                    schemaLocation="service.xsd"/>
+        </xs:schema>
+    </wsdl:types>
+  <wsdl:message name="commandsMessage">
+    <wsdl:part name="part1" element="ns:commands"/>
+  </wsdl:message>
+  <wsdl:message name="commandsResponse">
+    <wsdl:part name="part1" element="ns:commandsResponse"/>
+  </wsdl:message>
+  <wsdl:portType name="axis2-test-0.0.1PortType">
+    <wsdl:operation name="commands">
+      <wsdl:input
+          xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl"
+          message="axis2:commandsMessage"
+          wsaw:Action="urn:commands"/>
+      <wsdl:output
+          xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl"
+          message="axis2:commandsResponse"
+          wsaw:Action="http://ws.apache.org/axis2/xDWSPortType/commandsResponse"/>
+    </wsdl:operation>
+  </wsdl:portType>
+  <wsdl:binding name="axis2-test-0.0.1SOAP11Binding" type="axis2:axis2-test-0.0.1PortType">
+    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
+    <wsdl:operation name="commands">
+      <soap:operation soapAction="urn:commands" style="document"/>
+      <wsdl:input>
+        <soap:body use="literal"/>
+      </wsdl:input>
+      <wsdl:output>
+        <soap:body use="literal"/>
+      </wsdl:output>
+    </wsdl:operation>
+  </wsdl:binding>
+  <wsdl:binding name="axis2-test-0.0.1SOAP12Binding" type="axis2:axis2-test-0.0.1PortType">
+    <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
+    <wsdl:operation name="commands">
+      <soap12:operation soapAction="urn:commands" style="document"/>
+      <wsdl:input>
+        <soap12:body use="literal"/>
+      </wsdl:input>
+      <wsdl:output>
+        <soap12:body use="literal"/>
+      </wsdl:output>
+    </wsdl:operation>
+  </wsdl:binding>
+  <wsdl:binding name="axis2-test-0.0.1HttpBinding" type="axis2:axis2-test-0.0.1PortType">
+    <http:binding verb="POST"/>
+    <wsdl:operation name="commands">
+      <http:operation location="commands"/>
+      <wsdl:input>
+        <mime:content type="text/xml"/>
+      </wsdl:input>
+      <wsdl:output>
+        <mime:content type="text/xml"/>
+      </wsdl:output>
+    </wsdl:operation>
+  </wsdl:binding>
+  <wsdl:service name="axis2-test-0.0.1">
+    <wsdl:port name="axis2-test-0.0.1SOAP11port_http" binding="axis2:axis2-test-0.0.1SOAP11Binding">
+      <soap:address location="http://192.168.136.3:8080/axis2-webapp/services/axis2-test-0.0.1"/>
+    </wsdl:port>
+    <wsdl:port name="axis2-test-0.0.1SOAP12port_http" binding="axis2:axis2-test-0.0.1SOAP12Binding">
+      <soap12:address location="http://192.168.136.3:8080/axis2-webapp/services/axis2-test-0.0.1"/>
+    </wsdl:port>
+    <wsdl:port name="axis2-test-0.0.1Httpport0" binding="axis2:axis2-test-0.0.1HttpBinding">
+      <http:address location="http://192.168.136.3:8080/axis2-webapp/rest/axis2-test-0.0.1"/>
+    </wsdl:port>
+  </wsdl:service>
+</wsdl:definitions>

Propchange: axis/axis2/java/core/trunk/modules/tool/axis2-wsdl2code-maven-plugin/src/test/test2/src/main/axis2/test dir/service.wsdl
------------------------------------------------------------------------------
    svn:eol-style = native

Added: axis/axis2/java/core/trunk/modules/tool/axis2-wsdl2code-maven-plugin/src/test/test2/src/main/axis2/test dir/service.xsd
URL: http://svn.apache.org/viewvc/axis/axis2/java/core/trunk/modules/tool/axis2-wsdl2code-maven-plugin/src/test/test2/src/main/axis2/test%20dir/service.xsd?rev=1502933&view=auto
==============================================================================
--- axis/axis2/java/core/trunk/modules/tool/axis2-wsdl2code-maven-plugin/src/test/test2/src/main/axis2/test dir/service.xsd (added)
+++ axis/axis2/java/core/trunk/modules/tool/axis2-wsdl2code-maven-plugin/src/test/test2/src/main/axis2/test dir/service.xsd Sun Jul 14 03:37:33 2013
@@ -0,0 +1,31 @@
+<!--
+  ~ Licensed to the Apache Software Foundation (ASF) under one
+  ~ or more contributor license agreements. See the NOTICE file
+  ~ distributed with this work for additional information
+  ~ regarding copyright ownership. The ASF licenses this file
+  ~ to you 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
+        xmlns:xs="http://www.w3.org/2001/XMLSchema"
+        attributeFormDefault="unqualified"
+        elementFormDefault="qualified"
+        targetNamespace="http://axisversion.sample/xsd">
+    <xs:element name="commands">
+        <xs:complexType/>
+    </xs:element>
+    <xs:element name="commandsResponse">
+        <xs:complexType/>
+    </xs:element>
+</xs:schema>
\ No newline at end of file

Propchange: axis/axis2/java/core/trunk/modules/tool/axis2-wsdl2code-maven-plugin/src/test/test2/src/main/axis2/test dir/service.xsd
------------------------------------------------------------------------------
    svn:eol-style = native