aspose file tools*
The moose likes Web Services and the fly likes From Java to WSDL Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "From Java to WSDL" Watch "From Java to WSDL" New topic
Author

From Java to WSDL

Francesco Marchioni
author
Ranch Hand

Joined: Sep 22, 2003
Posts: 190
Hi all !
I need to generate the WSDL for a Java Class (actually an enterprise Java Bean) because I need to expose this EJB as a Service. (I'm using Aqualogic Service Bus). How can I get the WSDL from an EJB ?
Thanks a lot
Francesco


WildFly 8 Administration Book - JBoss Tutorials
Peer Reynders
Bartender

Joined: Aug 19, 2005
Posts: 2906
Originally posted by Francesco Marchioni:
I need to expose this EJB as a Service. (I'm using Aqualogic Service Bus).


Actually you can only expose and Stateless Session Bean (SLSB) as a web service. As you are using AquaLogic I assume that WebLogic is your Java Enterprise Edition platform. Here is a Web Logic 8.1 SLSB as a Web Service example. I'm sure that more recent versions of WebLogic will have equivalent examples. (WLS 9.2: Programming Guidelines When Implementing an EJB in Your JWS File)


"Don't succumb to the false authority of a tool or model. There is no substitute for thinking."
Andy Hunt, Pragmatic Thinking & Learning: Refactor Your Wetware p.41
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: From Java to WSDL
 
Similar Threads
Exposing EJB as Webservice...
Accessing a java class in a web application through EJB
JSP to connect to a web service
Normal Web Serivce SEI
Making an EJB Web Service client talk to C++ Server