Skip to main content

alphaWorks  >  Forums  >  XML Forms Generator  >  developerWorks

Xform generation from a ant task    Point your RSS reader here for a feed of the latest messages in this thread


     

 
 

My developerWorks
 Welcome, Guest
Sign in or register
This question is not answered.

Permlink Replies: 0 - Pages: 1 Threads: [ Previous | Next ]
guilagace

Posts: 1
Registered: Feb 19, 2009 01:46:09 PM
Xform generation from a ant task
Posted: Feb 19, 2009 01:59:48 PM
 
Click to report abuse...   Click to reply to this thread Reply
Hi, I followed this tutorial: Model-driven XML forms generation, Part 2: Generate forms targeting Web services (http://www.ibm.com/developerworks/xml/library/x-mdxfg2/index.html).

It produce exactly what I was searching for. It produce a web form with the parameters found in my wsdl file.

But to acheive this, you need eclipse and the plugin of courses.

I was wondering if there were any way of acheiving the same result by using a ant task ?

Exemple:
<?xml version="1.0" encoding="UTF-8"?>
<project basedir="." default="generateXforms">
<taskdef name="xformTransform" classname="com.ibm.etech.xforms.generation.CLASS">
<classpath .../>
</taskdef>

<target name="generateXforms">
<xformTransform wsdl="src/wsdl/file.wsdl" output="build/xforms/" genAllOperations="true" genAllElements="true" genAllAttributes="true">
<classpath .../>
</xformTransform>
</target>

It will take the wsdl file in input and produce the same output as the eclipse wizard will do.

Is that something that can be done ?

Point your RSS reader here for a feed of the latest messages in all forums