You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by dk...@apache.org on 2011/03/17 21:43:49 UTC

svn commit: r1082683 - in /cxf/trunk/distribution/src/main/release/samples/antbuild: ./ src/ src/demo/ src/demo/hw_http/ src/demo/hw_http/client/ src/demo/hw_http/server/ wsdl/

Author: dkulp
Date: Thu Mar 17 20:43:48 2011
New Revision: 1082683

URL: http://svn.apache.org/viewvc?rev=1082683&view=rev
Log:
Add a simple antbuild demo

Added:
    cxf/trunk/distribution/src/main/release/samples/antbuild/
    cxf/trunk/distribution/src/main/release/samples/antbuild/README.txt   (with props)
    cxf/trunk/distribution/src/main/release/samples/antbuild/build.xml   (with props)
    cxf/trunk/distribution/src/main/release/samples/antbuild/src/
    cxf/trunk/distribution/src/main/release/samples/antbuild/src/demo/
    cxf/trunk/distribution/src/main/release/samples/antbuild/src/demo/hw_http/
    cxf/trunk/distribution/src/main/release/samples/antbuild/src/demo/hw_http/client/
    cxf/trunk/distribution/src/main/release/samples/antbuild/src/demo/hw_http/client/Client.java   (with props)
    cxf/trunk/distribution/src/main/release/samples/antbuild/src/demo/hw_http/server/
    cxf/trunk/distribution/src/main/release/samples/antbuild/src/demo/hw_http/server/GreeterImpl.java   (with props)
    cxf/trunk/distribution/src/main/release/samples/antbuild/src/demo/hw_http/server/Server.java   (with props)
    cxf/trunk/distribution/src/main/release/samples/antbuild/wsdl/
    cxf/trunk/distribution/src/main/release/samples/antbuild/wsdl/hello_world.wsdl   (with props)

Added: cxf/trunk/distribution/src/main/release/samples/antbuild/README.txt
URL: http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/antbuild/README.txt?rev=1082683&view=auto
==============================================================================
--- cxf/trunk/distribution/src/main/release/samples/antbuild/README.txt (added)
+++ cxf/trunk/distribution/src/main/release/samples/antbuild/README.txt Thu Mar 17 20:43:48 2011
@@ -0,0 +1,42 @@
+Hello World Demo using Apache Ant for the Build Tool
+====================================================
+
+This demo takes builds a very simple "Hello World" 
+service and client using Apache Ant instead of Apache 
+Maven as the build tool.   Using Apache Ant requires
+setting up some macrodefs for the CXF tools and
+requires configuring the classpath.  The build.xml
+in this sample shows how to do that.
+
+
+Prerequisite
+------------
+
+The Ant build.xml for this sample requires the CXF_HOME
+environment variable to be set to the root of the Apache CXF
+installation.   
+
+
+Building and running the demo using Ant
+---------------------------------------
+From the base directory of this sample (i.e., where this README file is
+located), the Ant build.xml file can be used to build and run the demo. 
+The server target automatically builds the demo.
+
+Using either UNIX or Windows:
+
+To build and run the server, run:
+  ant server
+    
+To build and run the client, run:
+  ant client
+
+
+To remove the code generated from the WSDL file and the .class
+files, run:
+  ant clean
+
+
+
+
+   

Propchange: cxf/trunk/distribution/src/main/release/samples/antbuild/README.txt
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cxf/trunk/distribution/src/main/release/samples/antbuild/README.txt
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: cxf/trunk/distribution/src/main/release/samples/antbuild/build.xml
URL: http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/antbuild/build.xml?rev=1082683&view=auto
==============================================================================
--- cxf/trunk/distribution/src/main/release/samples/antbuild/build.xml (added)
+++ cxf/trunk/distribution/src/main/release/samples/antbuild/build.xml Thu Mar 17 20:43:48 2011
@@ -0,0 +1,210 @@
+<?xml version="1.0"?>
+<!--
+  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 name="Hello world demo" default="compile" basedir=".">
+
+    <property environment="env"/>
+    <property name="build.dir" location ="${basedir}/build"/>
+    <property name="build.classes.dir" location ="${build.dir}/classes"/>
+    <property name="src.dir" location ="${basedir}/src"/>
+    <property name="build.src.dir" location ="${build.dir}/src"/>
+    <property name="build.var.dir" location ="${build.dir}/var"/>
+    <property name="codegen.timestamp.file" value="${build.src.dir}/.CODEGEN_DONE"/>
+    <property name="war.dir" location="${build.dir}/war"/>
+
+    <property name="wsdl.dir" location="${basedir}/wsdl"/>
+
+    <!-- Determine cxf.home, either from the environment variable CXF_HOME
+        - or using ../..
+        -->
+    <condition property="cxf.home" value="${env.CXF_HOME}">
+        <isset property="env.CXF_HOME"/>
+    </condition>
+    <property name="cxf.home" location="../.."/>
+    <property name="cxf.etc.dir" location="${cxf.home}/etc"/>
+
+    <!-- JAX-WS 2.2 and JAXB 2.2 require the API jars to be endorsed -->
+    <condition property="cxf.endorsed.dir" value="${cxf.home}/lib/endorsed">
+         <available file="${cxf.home}/lib/endorsed" type="dir" property=""/>
+     </condition>
+     <condition property="cxf.endorsed.flag" value="-Djava.endorsed.dirs=${cxf.endorsed.dir}">
+         <available file="${cxf.home}/lib/endorsed" type="dir" property=""/>
+     </condition>
+     <property name="cxf.endorsed.dir" location="${cxf.home}"/>
+     <property name="cxf.endorsed.flag" value="-Dnone=none"/>
+
+     <!-- Set the classpath for the CXF libraries -->
+     <path id="cxf.classpath">
+         <pathelement location="${basedir}"/>
+         <pathelement location="${build.classes.dir}"/>
+         <pathelement path="${srcbuild.classpath}"/>
+         <pathelement location="${cxf.home}/lib/cxf-manifest.jar"/>
+         <fileset dir="${cxf.endorsed.dir}">
+             <include name="*.jar"/>
+         </fileset>
+     </path>
+
+
+    <!-- Sample macrodef to setup and run the CXF wsdl2java tool -->
+    <macrodef name="wsdl2java">
+        <attribute name="srcdestdir" default="${build.src.dir}"/>
+        <attribute name="destdir" default="${build.classes.dir}"/>
+        <attribute name="file"/>
+        <attribute name="servicename.arg" default=""/>
+        <attribute name="bindingfile" default=""/>
+        <attribute name="databinding" default=""/>
+        <attribute name="dir" default="${wsdl.dir}"/>
+        <attribute name="package" default="NOT_SPECIFIED"/>
+        <sequential>
+            <mkdir dir="@{destdir}"/>
+            <mkdir dir="@{srcdestdir}"/>
+            <condition property="package.arg.@{file}" value="-p @{package}">
+                <not>
+                    <equals arg1="@{package}" arg2="NOT_SPECIFIED"/>
+                </not>
+            </condition>
+            <property name="package.arg.@{file}" value=""/>
+            <condition property="binding.arg" value='-b "@{bindingfile}"'>
+                <not>
+                    <equals arg1="@{bindingfile}" arg2=""/>
+                </not>
+            </condition>
+            <property name="binding.arg" value=""/>
+            <condition property="databinding.arg" value='-db "@{databinding}"'>
+                <not>
+                    <equals arg1="@{databinding}" arg2=""/>
+                </not>
+            </condition>
+            <property name="databinding.arg" value=""/>
+            <java failonerror="true" classname="org.apache.cxf.tools.wsdlto.WSDLToJava" fork="yes">
+                <classpath>
+                    <path refid="cxf.classpath" />
+                </classpath>
+                <jvmarg value="${cxf.endorsed.flag}"/>
+                <sysproperty key="java.util.logging.config.file" value="${cxf.etc.dir}/logging.properties"/>
+                <sysproperty key="exitOnFinish" value="true"/>
+                <arg line="@{servicename.arg}"/>
+                <arg line="${package.arg.@{file}}"/>
+                <arg line="${databinding.arg}"/>
+                <arg line="${binding.arg}"/>
+                <arg value="-verbose"/>
+                <arg value="-d"/>
+                <arg value="@{srcdestdir}"/>
+                <arg value="@{dir}/@{file}"/>
+            </java>
+        </sequential>
+    </macrodef>
+
+
+    <!-- Targets to run the sample client and server -->
+    <target name="client" description="run demo client" depends="compile">
+        <property name="param" value=""/>
+        <cxfrun classname="demo.hw_http.client.Client"
+                param1="${basedir}/wsdl/hello_world.wsdl"/>
+    </target>
+    <target name="server" description="run demo server" depends="compile">
+        <cxfrun classname="demo.hw_http.server.Server"/>
+    </target>
+
+
+    <!-- detect if the wsdl2java needs to be rerun -->
+    <uptodate property="codegen.notrequired" value="true">
+        <srcfiles dir="${wsdl.dir}" includes="**/*.wsdl"/>
+        <srcfiles dir="${wsdl.dir}" includes="**/*.xsd"/>
+        <mapper type="merge" to="${codegen.timestamp.file}"/>
+    </uptodate>
+
+    <target name="generate.code">
+        <echo level="info" message="Generating code using wsdl2java..."/>
+        <wsdl2java file="hello_world.wsdl"/>
+    </target>
+    <target name="maybe.generate.code" unless="codegen.notrequired">
+        <antcall target="generate.code"/>
+        <touch file="${codegen.timestamp.file}"/>
+    </target>
+
+    <!-- Compiles all the code.   Depends on the targets that would call wsdl2java -->
+    <target name="compile" depends="maybe.generate.code">
+        <mkdir dir="${build.classes.dir}"/>
+        <mkdir dir="${build.src.dir}"/>
+
+        <javac destdir="${build.classes.dir}" debug="true" fork="true" encoding="utf-8" includeantruntime="false">
+            <compilerarg line="-J${cxf.endorsed.flag}"/>
+            <src path="${src.dir}"/>
+            <src path="${build.src.dir}"/>
+            <classpath>
+                <path refid="cxf.classpath"/>
+            </classpath>
+        </javac>
+
+        <copy todir="${build.classes.dir}">
+            <fileset dir="${src.dir}" excludes="**/*.java" />
+            <fileset dir="${build.src.dir}" includes="**/*.java" />
+        </copy>
+    </target>
+
+    <target name="clean" description="clean">
+        <delete dir="${build.classes.dir}"/>
+        <delete dir="${build.src.dir}"/>
+        <delete file="${codegen.timestamp.file}"/>
+        <delete file="demo.log"/>
+        <delete dir="${build.var.dir}"/>
+        <delete dir="${build.dir}"/>
+    </target>
+
+
+    <!-- Sample macrodef for running an application that would include the requirements that CXF needs
+        It sets up the classpath and the endorsed dirs and add the logging properties and such --> 
+    <macrodef name="cxfrun">
+        <attribute name="logging-properties-file" default="${cxf.etc.dir}/logging.properties"/>
+        <attribute name="classname"/>
+        <attribute name="param1" default=""/>
+        <attribute name="param2" default=""/>
+        <attribute name="param3" default=""/>
+        <attribute name="param4" default=""/>
+        <attribute name="param5" default=""/>
+        <attribute name="jvmarg1" default="-D' '"/>
+        <attribute name="jvmarg2" default="-D' '"/>
+        <attribute name="jvmarg3" default="-D' '"/>
+        <attribute name="jvmarg4" default="-D' '"/>
+        <attribute name="jvmarg5" default="-D' '"/>
+        <sequential>
+            <java classname="@{classname}" fork="yes">
+                <classpath>
+                    <path refid="cxf.classpath"/>
+                </classpath>
+                <arg value="@{param1}"/>
+                <arg value="@{param2}"/>
+                <arg value="@{param3}"/>
+                <arg value="@{param4}"/>
+                <arg value="@{param5}"/>
+                <jvmarg value="-Dcxf.home=${cxf.home}"/>
+                <jvmarg value="${cxf.endorsed.flag}"/>
+                <jvmarg value="@{jvmarg1}"/>
+                <jvmarg value="@{jvmarg2}"/>
+                <jvmarg value="@{jvmarg3}"/>
+                <jvmarg value="@{jvmarg4}"/>
+                <jvmarg value="@{jvmarg5}"/>
+                <sysproperty key="java.util.logging.config.file" value="@{logging-properties-file}"/>
+            </java>
+        </sequential>
+    </macrodef>
+
+
+</project>

Propchange: cxf/trunk/distribution/src/main/release/samples/antbuild/build.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cxf/trunk/distribution/src/main/release/samples/antbuild/build.xml
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: cxf/trunk/distribution/src/main/release/samples/antbuild/build.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: cxf/trunk/distribution/src/main/release/samples/antbuild/src/demo/hw_http/client/Client.java
URL: http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/antbuild/src/demo/hw_http/client/Client.java?rev=1082683&view=auto
==============================================================================
--- cxf/trunk/distribution/src/main/release/samples/antbuild/src/demo/hw_http/client/Client.java (added)
+++ cxf/trunk/distribution/src/main/release/samples/antbuild/src/demo/hw_http/client/Client.java Thu Mar 17 20:43:48 2011
@@ -0,0 +1,73 @@
+/**
+ * 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.
+ */
+
+package demo.hw_http.client;
+
+import java.io.File;
+import java.net.URL;
+import javax.xml.namespace.QName;
+import org.apache.hello_world_soap_http.Greeter;
+import org.apache.hello_world_soap_http.SOAPService;
+
+public final class Client {
+
+    private static final QName SERVICE_NAME
+        = new QName("http://apache.org/hello_world_soap_http", "SOAPService");
+
+    private static final QName PORT_NAME =
+        new QName("http://apache.org/hello_world_soap_http", "SoapPort");
+
+
+    private Client() {
+    }
+
+    public static void main(String args[]) throws Exception {
+
+        if (args.length == 0) {
+            System.out.println("please specify wsdl");
+            System.exit(1);
+        }
+
+        URL wsdlURL;
+        File wsdlFile = new File(args[0]);
+        if (wsdlFile.exists()) {
+            wsdlURL = wsdlFile.toURI().toURL();
+        } else {
+            wsdlURL = new URL(args[0]);
+        }
+
+        System.out.println("WSDL : " + wsdlURL);
+        SOAPService ss = new SOAPService(wsdlURL, SERVICE_NAME);
+        Greeter port = ss.getPort(PORT_NAME, Greeter.class);
+
+        System.out.println("Invoking greetMe...");
+        try {
+            String resp = port.greetMe(System.getProperty("user.name"));
+            System.out.println("Server responded with: " + resp);
+            System.out.println();
+
+        } catch (Exception e) {
+            System.out.println("Invocation failed with the following: " + e.getCause());
+            System.out.println();
+        }
+
+        System.exit(0);
+    }
+
+}

Propchange: cxf/trunk/distribution/src/main/release/samples/antbuild/src/demo/hw_http/client/Client.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cxf/trunk/distribution/src/main/release/samples/antbuild/src/demo/hw_http/client/Client.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Added: cxf/trunk/distribution/src/main/release/samples/antbuild/src/demo/hw_http/server/GreeterImpl.java
URL: http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/antbuild/src/demo/hw_http/server/GreeterImpl.java?rev=1082683&view=auto
==============================================================================
--- cxf/trunk/distribution/src/main/release/samples/antbuild/src/demo/hw_http/server/GreeterImpl.java (added)
+++ cxf/trunk/distribution/src/main/release/samples/antbuild/src/demo/hw_http/server/GreeterImpl.java Thu Mar 17 20:43:48 2011
@@ -0,0 +1,43 @@
+/**
+ * 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.
+ */
+
+package demo.hw_http.server;
+
+import java.util.logging.Logger;
+import org.apache.hello_world_soap_http.Greeter;
+
+@javax.jws.WebService(name = "Soap", serviceName = "SOAPService", 
+                      targetNamespace = "http://apache.org/hello_world_soap_http", 
+                      wsdlLocation = "file:./wsdl/hello_world.wsdl")
+                  
+public class GreeterImpl implements Greeter {
+
+    private static final Logger LOG = 
+        Logger.getLogger(GreeterImpl.class.getPackage().getName());
+    
+    /* (non-Javadoc)
+     * @see org.objectweb.hello_world_soap_http.Greeter#greetMe(java.lang.String)
+     */
+    public String greetMe(String me) {
+        LOG.info("Executing operation greetMe");
+        System.out.println("Executing operation greetMe");
+        System.out.println("Message received: " + me + "\n");
+        return "Hello " + me;
+    }
+}

Propchange: cxf/trunk/distribution/src/main/release/samples/antbuild/src/demo/hw_http/server/GreeterImpl.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cxf/trunk/distribution/src/main/release/samples/antbuild/src/demo/hw_http/server/GreeterImpl.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Added: cxf/trunk/distribution/src/main/release/samples/antbuild/src/demo/hw_http/server/Server.java
URL: http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/antbuild/src/demo/hw_http/server/Server.java?rev=1082683&view=auto
==============================================================================
--- cxf/trunk/distribution/src/main/release/samples/antbuild/src/demo/hw_http/server/Server.java (added)
+++ cxf/trunk/distribution/src/main/release/samples/antbuild/src/demo/hw_http/server/Server.java Thu Mar 17 20:43:48 2011
@@ -0,0 +1,42 @@
+/**
+ * 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.
+ */
+
+package demo.hw_http.server;
+
+import javax.xml.ws.Endpoint;
+
+public class Server {
+
+    protected Server() throws Exception {
+        System.out.println("Starting Server");
+
+        Object implementor = new GreeterImpl();
+        String address = "http://localhost:9001/SoapContext/SoapPort";
+        Endpoint.publish(address, implementor);
+    }
+
+    public static void main(String args[]) throws Exception {
+        new Server();
+        System.out.println("Server ready...");
+
+        Thread.sleep(5 * 60 * 1000);
+        System.out.println("Server exiting");
+        System.exit(0);
+    }
+}

Propchange: cxf/trunk/distribution/src/main/release/samples/antbuild/src/demo/hw_http/server/Server.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cxf/trunk/distribution/src/main/release/samples/antbuild/src/demo/hw_http/server/Server.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Added: cxf/trunk/distribution/src/main/release/samples/antbuild/wsdl/hello_world.wsdl
URL: http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/antbuild/wsdl/hello_world.wsdl?rev=1082683&view=auto
==============================================================================
--- cxf/trunk/distribution/src/main/release/samples/antbuild/wsdl/hello_world.wsdl (added)
+++ cxf/trunk/distribution/src/main/release/samples/antbuild/wsdl/hello_world.wsdl Thu Mar 17 20:43:48 2011
@@ -0,0 +1,86 @@
+<?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.
+-->
+<wsdl:definitions name="HelloWorld" targetNamespace="http://apache.org/hello_world_soap_http"
+    xmlns="http://schemas.xmlsoap.org/wsdl/"
+    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
+    xmlns:tns="http://apache.org/hello_world_soap_http"
+    xmlns:x1="http://apache.org/hello_world_soap_http/types"
+    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
+    xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+    <wsdl:types>
+        <schema targetNamespace="http://apache.org/hello_world_soap_http/types"
+            xmlns="http://www.w3.org/2001/XMLSchema"
+            xmlns:tns="http://apache.org/hello_world_soap_http/types"
+            elementFormDefault="qualified">
+
+            <simpleType name="MyStringType">
+                <restriction base="string">
+                    <maxLength value="30" />
+                </restriction>
+            </simpleType>
+
+            <element name="greetMe">
+                <complexType>
+                    <sequence>
+                        <element name="requestType" type="tns:MyStringType"/>
+                    </sequence>
+                </complexType>
+            </element>
+            <element name="greetMeResponse">
+                <complexType>
+                    <sequence>
+                        <element name="responseType" type="string"/>
+                    </sequence>
+                </complexType>
+            </element>
+        </schema>
+    </wsdl:types>
+    <wsdl:message name="greetMeRequest">
+        <wsdl:part element="x1:greetMe" name="in"/>
+    </wsdl:message>
+    <wsdl:message name="greetMeResponse">
+        <wsdl:part element="x1:greetMeResponse" name="out"/>
+    </wsdl:message>
+
+    <wsdl:portType name="Greeter">
+        <wsdl:operation name="greetMe">
+            <wsdl:input message="tns:greetMeRequest" name="greetMeRequest"/>
+            <wsdl:output message="tns:greetMeResponse" name="greetMeResponse"/>
+        </wsdl:operation>
+    </wsdl:portType>
+    <wsdl:binding name="Greeter_SOAPBinding" type="tns:Greeter">
+        <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
+        <wsdl:operation name="greetMe">
+            <soap:operation soapAction="" style="document"/>
+            <wsdl:input name="greetMeRequest">
+                <soap:body use="literal"/>
+            </wsdl:input>
+            <wsdl:output name="greetMeResponse">
+                <soap:body use="literal"/>
+            </wsdl:output>
+        </wsdl:operation>
+    </wsdl:binding>
+    <wsdl:service name="SOAPService">
+        <wsdl:port binding="tns:Greeter_SOAPBinding" name="SoapPort">
+            <soap:address location="http://localhost:9001/SoapContext/SoapPort"/>
+        </wsdl:port>
+    </wsdl:service>
+</wsdl:definitions>
+

Propchange: cxf/trunk/distribution/src/main/release/samples/antbuild/wsdl/hello_world.wsdl
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cxf/trunk/distribution/src/main/release/samples/antbuild/wsdl/hello_world.wsdl
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: cxf/trunk/distribution/src/main/release/samples/antbuild/wsdl/hello_world.wsdl
------------------------------------------------------------------------------
    svn:mime-type = text/xml