Wednesday, January 13, 2010

Woden Converter Ant Task

Woden converter tool is a useful tool for converting wsdl 1.0 document to wsdl 2.0 documents. Right now there are Maven and standalone tools available for accomplish this task. Recently I have contributed an ant task for converting wsdl 1 .0 to wsdl 2.0 and was able to complete my task last week.

If you have an ant project you can easily make use of this ant task. Here is an example below.

<?xml version="1.0" encoding="ISO-8859-1"?>
<project name="MyTask" basedir="." default="test">

<target name="test">

<echo message="starting ........${classpath}"/>
<taskdef name="converterTask"
classname="org.apache.woden.ant.task.ConverterTask">
<classpath>
<fileset dir="lib">
<include name="**/*.jar"/>
</fileset>
</classpath>
</taskdef>

<converterTask wsdl="Echo.wsdl" overwrite="true"/>

</target>

</project>


I expect users feedback and willing to contribute more in future.

0 comments:

Post a Comment