Hi, 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 WTP. 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. Thanks, ---------- Forwarded message ---------- From: Kathy Chan <[EMAIL PROTECTED]> Date: Wed, Jun 18, 2008 at 10:57 PM Subject: Fw: [wtp-dev] Fwd: EJB WebServices To: [EMAIL PROTECTED] 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 ( https://bugs.eclipse.org/bugs/show_bug.cgi?id=89922) 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 of EJB Web service would likely be for the Axis2 runtime rather than the Axis1 runtime. 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 bugzilla: https://bugs.eclipse.org/bugs/ You should select the Web tools, jst.ws 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: http://www.eclipse.org/newsportal/thread.php?group=eclipse.webtools Regards, Kathy Chan Rational Java Web Services, IBM Toronto Lab [EMAIL PROTECTED] (905) 413-3022, tieline: 313-3022 ----- Forwarded by Kathy Chan/Toronto/IBM on 06/18/2008 01:15 PM ----- *"Sainath Chowdary" <[EMAIL PROTECTED]>* Sent by: [EMAIL PROTECTED] 06/18/2008 10:01 AM Please respond to "General discussion of project-wide or architectural issues." < [EMAIL PROTECTED]> To [EMAIL PROTECTED] cc Subject [wtp-dev] Fwd: EJB WebServices Hi, I am trying to deploy a stateless session EJB as a web service using the create webservices popup menu. my ejb code is this: * Converter.java* ---------------------------------------------------------------------- import java.math.BigDecimal; import javax.ejb.Remote; import javax.jws.WebService; @Remote public interface Converter { public BigDecimal dollarToRupees(BigDecimal dollars); public BigDecimal rupeesToEuro(BigDecimal rupees); } -------------------------------------------------------------------------------------------------------- * ConverterBean.java* -------------------------------------------------------------------------------------------------------- import java.math.BigDecimal; import javax.ejb.*; import javax.jws.WebService; @Stateless 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 ConverterBean.java 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 [EMAIL PROTECTED] https://dev.eclipse.org/mailman/listinfo/wtp-dev _______________________________________________ wtp-dev mailing list [EMAIL PROTECTED] https://dev.eclipse.org/mailman/listinfo/wtp-dev -- Sainath Chowdary B.Tech III yr, Spring Semester Electronics & Communication Engg Indian Institute of Technology Roorkee
