1 2 Previous Next 22 Replies Latest reply on Oct 4, 2006 6:25 PM by thomas.diesler

    PLEASE HELP: JSR 181 EJB Endpoint (JBoss 4.0.4.GA)

    knifegun

      I have the follwoing JSR 181 defined endpoint. I compiled the class, placed it with my EJB classes (cm.ejb3). And then created an enterprise archive (cm.ear). All my EJBs work great. The WSDL for the class below was generated. The JBoss even shows the creation of the endpoint. However, I cannot find the WSDL URL. I have tried:




      I am out of ideas. Any help would be very appreciated!

      The JBoss log file shows:

      20:05:33,355 INFO [WSDLFilePublisher] WSDL published to: file:/opt/jboss-4.0.4.GA/server/default/data/wsdl/cm.ear/cm.ejb3/SchedulerWSBeanService52820.wsdl
      20:05:33,511 INFO [ServiceEndpointManager] WebService started: http://myhost:8080/cm/SchedulerWSBean


      package com.my.webservices;
      
      import javax.ejb.Stateless;
      import javax.jws.WebMethod;
      import javax.jws.WebService;
      import javax.jws.soap.SOAPBinding;
      
      @Stateless
      @WebService
      @SOAPBinding(style = SOAPBinding.Style.RPC)
      
      //@WebService(endpointInterface="net.sasainc.cm.webservices.SchedulerWS")
      public class SchedulerWSBean implements SchedulerWS {
      
       @WebMethod
       public String listJobs() {
       return "--> jobs";
       }
      
      }


        1 2 Previous Next