This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

From Java to WSDL

 
Francesco Marchioni
author
Ranch Hand
Posts: 194
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Peer Reynders
Bartender
Posts: 2968
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic