Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Ant task to comiple WSDL and XSD file

Ajoo Bar
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to use ant to compile a wsdl file. It works fine if I have a single WSDL file. But if I have a wsdl file which is referencing an wsdl interface and XSD files, the below script doesn't generate all the required stubs.

<project name="TestWSDL" default="codegen" basedir=".">

<path id="axis2.classpath">
<fileset dir="C:\axis2\axis2-1.2\axis2-1.2\lib">
<include name="**/*.jar" />

<target name="codegen">

<taskdef name="axis2-wsdl2java"

output="C:\_Temp\AxisTest\CompiledCode" />


  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic