You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by mm...@apache.org on 2007/03/14 13:34:13 UTC
svn commit: r518113 - in
/incubator/cxf/trunk/distribution/src/main/release/samples/hello_world_async:
build.xml wsdl/async_binding.xml wsdl/async_binding.xml.tmpl
Author: mmao
Date: Wed Mar 14 05:34:12 2007
New Revision: 518113
URL: http://svn.apache.org/viewvc?view=rev&rev=518113
Log:
Fix the hello_world_async demo
* tools2 support relative uri, so there is no need to copy/filter the binding template file
Added:
incubator/cxf/trunk/distribution/src/main/release/samples/hello_world_async/wsdl/async_binding.xml
Removed:
incubator/cxf/trunk/distribution/src/main/release/samples/hello_world_async/wsdl/async_binding.xml.tmpl
Modified:
incubator/cxf/trunk/distribution/src/main/release/samples/hello_world_async/build.xml
Modified: incubator/cxf/trunk/distribution/src/main/release/samples/hello_world_async/build.xml
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/distribution/src/main/release/samples/hello_world_async/build.xml?view=diff&rev=518113&r1=518112&r2=518113
==============================================================================
--- incubator/cxf/trunk/distribution/src/main/release/samples/hello_world_async/build.xml (original)
+++ incubator/cxf/trunk/distribution/src/main/release/samples/hello_world_async/build.xml Wed Mar 14 05:34:12 2007
@@ -33,13 +33,6 @@
<target name="generate.code">
<property name="wsdl.dir" location="${basedir}/wsdl"/>
- <copy file="${basedir}/wsdl/async_binding.xml.tmpl"
- tofile="${basedir}/wsdl/async_binding.xml"
- overwrite="yes">
- <filterset>
- <filter token="WSDL_LOCATION" value="${wsdl.dir}"/>
- </filterset>
- </copy>
<echo level="info" message="Generating code using wsdl2java..."/>
<wsdl2java file="hello_world_async.wsdl" bindingfile="${basedir}/wsdl/async_binding.xml"/>
</target>
Added: incubator/cxf/trunk/distribution/src/main/release/samples/hello_world_async/wsdl/async_binding.xml
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/distribution/src/main/release/samples/hello_world_async/wsdl/async_binding.xml?view=auto&rev=518113
==============================================================================
--- incubator/cxf/trunk/distribution/src/main/release/samples/hello_world_async/wsdl/async_binding.xml (added)
+++ incubator/cxf/trunk/distribution/src/main/release/samples/hello_world_async/wsdl/async_binding.xml Wed Mar 14 05:34:12 2007
@@ -0,0 +1,29 @@
+<!--
+ 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.
+-->
+
+
+<bindings
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+ xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
+ wsdlLocation="hello_world_async.wsdl"
+ xmlns="http://java.sun.com/xml/ns/jaxws">
+ <bindings node="wsdl:definitions">
+ <enableAsyncMapping>true</enableAsyncMapping>
+ </bindings>
+</bindings>