[jboss-user] [JBossWS] - Converting EJB2.1 to Webservice

altes-kind do-not-reply at jboss.com
Tue Nov 25 13:00:09 EST 2008


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

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4192231#4192231

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4192231



More information about the jboss-user mailing list