0 Replies Latest reply on Nov 25, 2008 1:00 PM by altes-kind

    Converting EJB2.1 to Webservice

    altes-kind

      Hi,

      I'm pretty new to web services and currently working on an app which has to be migrated from Bea Weblogic 8.1 to JBoss AS 4.2.1.

      Currently the app is using the Bea Weblogic specific Ant task servicegen to create the webservice producer out of an EJB2.1 project (see http://edocs.beasys.com/wls/docs81/webserv/anttasks.html#1063540):

      <servicegen
       destEar="${build.dir}/${ejb.jar.name}-ws"
       warName="${ejb.jar.name}-ws.war">
       <service
       ejbJar="${build.dir}/${ejb.jar.name}.jar"
       includeEJBs="ArchiveAccessRemote"
       targetNamespace="de.proactiv"
       serviceName="ArchiveAccess"
       serviceURI="/ArchiveAccess"
       style="document"
       generateTypes="True"
       expandMethods="True">
       <!--client
       packageName="de.proactiv.postbox.services.archiveaccess.webservice"
       clientJarName="${ejb.jar.name}_client.jar"
       /-->
       </service>
      </servicegen>


      Is there a similar Ant taks in JBoss WS to convert EJB2.1 projects to webservices?
      I read about wsprovide but it doesn't seem to work with EJB2.1. Is this correct?
      I also read about wstool. Is it still supported in JBoss WS? If yes, where can I find the documentation?

      Thank you very much! :-)
      altes-kind