[jboss-user] [JBoss jBPM] - Re: Generating BPEL wsdl offline
alex.guizar@jboss.com
do-not-reply at jboss.com
Tue May 20 17:52:08 EDT 2008
Yes. The product includes an Ant task for offline WSDL generation in jbpm-bpel-tools.jar. Here is a sample build file that defines and executes the task.
<target name="generate.wsdl" depends="package.process" description="generate wsdl description">
| <taskdef name="wsdlservice" classname="org.jbpm.bpel.tools.ant.WsdlServiceTask">
| <classpath>
| <pathelement location="${config.dir}" />
| <pathelement location="${lib.commons.collections.local}" />
| <pathelement location="${lib.commons.lang.local}" />
| <pathelement location="${lib.commons.logging.local}" />
| <pathelement location="${lib.dom4j.local}" />
| <pathelement location="${lib.log4j.local}" />
| <pathelement location="${lib.jaxen.local}" />
| <pathelement location="${lib.jbpm.bpel.jar.local}" />
| <pathelement location="${lib.jbpm.bpel.tools.jar.local}" />
| <pathelement location="${lib.jbpm.jpdl.jar.local}" />
| <pathelement location="${lib.wsdl4j.local}" />
| </classpath>
| </taskdef>
| <wsdlservice processarchive="${output.dir}/${module.name}.zip"
| wsdldir="${output.dir}/resources/web/wsdl"
| generatedescriptor="no" />
| </target>
Make sure the config.dir includes the jbpm.cfg.xml file.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4152153#4152153
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4152153
More information about the jboss-user
mailing list