-
2. Re: Weblogic equivalent library in JBOSS for generating wsdl2service and clientgen
anoopsk Sep 29, 2011 8:38 AM (in response to asoldano)Hi,
wsprovide is a ant task that generates portable JAX-WS artifacts for a service endpoint implementation and wsconsume is a command line tool and ant task that "consumes" the abstract contract (WSDL file) and produces portable JAX-WS service and client artifacts.
But we have ejb's as service endpoint in the form of ejb jars as below from weblogic build.xml. How can we go about in converting this in jboss, so that services/wsdl's can be generated ? Your help is much appreciated.
<target
>
/>
<!-- Our exploded ear dir -->
/>
<!-- Our exploded war dir -->
/>
<!-- Our exploded war dir -->
/>
/>
/>
/>
<taskdef
name="servicegen" classname="weblogic.ant.taskdefs.webservices.servicegen.ServiceGenTask" classpathref="wl.servicegen.path"
/>
<servicegen destEar="${temp.ear.dir}" overwrite="true" contextURI="temp"
>
<classpath>
<path refid="wl.ejbc.path"
/>
<path refid="wl.servicegen.path"
/>
<path refid="share.compile.path"
/>
</classpath>
<service
ejbJar=
"${jar.dir}/ejb/a.jar"
targetNamespace=
serviceName=
"a"
serviceURI=
"/a"
generateTypes=
"True"
expandMethods=
"True"
/>
</servicegen>
</target>
Thanks,