geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sainath Chowdary" <>
Subject Fwd: [wtp-dev] EJB WebServices
Date Thu, 19 Jun 2008 12:32:44 GMT

I have been working on customizing the web services implementation for
Apache Geronimo in Geronimo Eclipse Plugin.
I asked the wtp-dev mailing list about the support for EJB Web services in
This is the reply that I got from the wtp-dev mailing list. They already
opened a RFE and closed it because they were unable to fix it. The mail says
that current WTP Web Services wizard supports only creating web services in
a Web Project for Axis and Axis2.

I have also deployed an POJO web service and EJB Web service without even
having the WSDL file and Geronimo automatically created the required files
including the WSDL file based on the annotations, deployment descriptors and
deployment plans.

As deploying web services in Geronimo is much easier than what I thought,
now I would like to write documentation for deploying POJO Web service, EJB
Web Service, RESTful Service, SAAJ Service and securing Web Service.

Please provide me appropriate permissions for adding and editing pages in
Apache Geronimo Confluence space.I have already applied for CLA by email and
I have sent the cc of that mail to this mailing list also.


---------- Forwarded message ----------
From: Kathy Chan <>
Date: Wed, Jun 18, 2008 at 10:57 PM
Subject: Fw: [wtp-dev] Fwd: EJB WebServices

Hi Sainath,

Creating EJB Web services is currently not supported in WTP.  We only
support the creation of Web service in a Web project for Axis1 and Axis2.
 We had a long standing RFE ( opened to request for
this support but it had been closed with "No Plan to Fix" given the
following rationale:

There's no plan to implement this enhancement in Axis1 given the current
resource on the
Web services team.  Please note that we now have support for Axis2 (the next
generation Web services runtime).  Even though the Axis2 tool in WTP
currently does not
support EJB Web service either, future enhancement to support the creation
EJB Web service would likely be for the Axis2 runtime rather than the Axis1

You are welcome to open an RFE for the Axis2 Web services tools in WTP to
support the creation of EJB Web service.  Here's the URL for opening a

You should select the Web tools, component.

BTW, the wtp-dev distribution list is for the discussion of people
developing WTP.  Questions for the usage of WTP tools can be appended to the
WTP newsgroup at:


Kathy Chan
Rational Java Web Services,
IBM Toronto Lab
(905) 413-3022, tieline: 313-3022
----- Forwarded by Kathy Chan/Toronto/IBM on 06/18/2008 01:15 PM -----
 *"Sainath Chowdary" <>*
Sent by:

06/18/2008 10:01 AM
 Please respond to
"General discussion of project-wide or architectural issues."        <>

  To  cc

[wtp-dev] Fwd: EJB WebServices


I am trying to deploy a stateless session EJB as a web service using the
create webservices popup menu.
my ejb code is this:
import java.math.BigDecimal;
import javax.ejb.Remote;
import javax.jws.WebService;

public interface Converter {
   public BigDecimal dollarToRupees(BigDecimal dollars);

   public BigDecimal rupeesToEuro(BigDecimal rupees);
import java.math.BigDecimal;
import javax.ejb.*;
import javax.jws.WebService;

public class ConverterBean implements Converter {
   private BigDecimal rupeeRate = new BigDecimal("40.58");
   private BigDecimal euroRate = new BigDecimal("0.018368");

   public BigDecimal dollarToRupees(BigDecimal dollars) {
       BigDecimal result = dollars.multiply(rupeeRate);
       return result.setScale(2, BigDecimal.ROUND_UP);

   public BigDecimal rupeesToEuro(BigDecimal rupees) {
       BigDecimal result = rupees.multiply(euroRate);
       return result.setScale(2, BigDecimal.ROUND_UP);

But when i right click the and select create web service,
the wizard works fine to the point where we select which functions to expose
as web methods. Then its giving me an error like this:

IWAB0398E Error in generating WSDL from Java:
 java.lang.ClassNotFoundException: abc.ConverterBean

I think it created another web project named WebServiceProject and trying to
search the class files in that project.

Can anyone help me in this regard?

Thanks in Advance.,

Sainath Chowdary
B.Tech III yr, Spring Semester
Electronics & Communication Engg
Indian Institute of Technology Roorkee
wtp-dev mailing list

wtp-dev mailing list

Sainath Chowdary
B.Tech III yr, Spring Semester
Electronics & Communication Engg
Indian Institute of Technology Roorkee

View raw message