This content has been marked as final.
Show 1 reply
-
1. Re: Generating BPEL wsdl offline
aguizar May 20, 2008 5:52 PM (in response to joestevens)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.