8 Replies Latest reply on Sep 27, 2012 4:34 AM by FISYA MAHMAD

    Web service not registered when server is up



      I try to migrate my web service from jboss 5 to jboss 7. I found it not as easy as copy and paste. below is my ear folder in standalone folder.


      Under AddressProcessorEAR.ear, i put my web service (Maven-AddressProcessor.jar). When i start my server, there is no error. But, the web service was not registered to the server. Below is the implementation class of the web service


      package my.mimos.sdl.socso.AddressProcessor.service;


      import java.util.List;


      import javax.ejb.EJB;

      import javax.ejb.Remote;

      import javax.ejb.Stateless;

      import javax.ejb.TransactionAttribute;

      import javax.ejb.TransactionAttributeType;

      import javax.ejb.TransactionManagement;

      import javax.ejb.TransactionManagementType;

      import javax.jws.WebService;


      import my.mimos.sdl.socso.AddressProcessor.domain.AbbreviationI;

      import my.mimos.sdl.socso.AddressProcessor.domain.OutputBean;



      @WebService(serviceName = "AddressProcessor")




      public class AddressProcessorBean implements AddressProcessor{



          private static AbbreviationI abbreviation;   



          public List<OutputBean> getHeader(List<String> shortName)throws Exception{

              List<OutputBean> result = abbreviation.getHeader(shortName);

              return result;   






          public List<String> getAbbrByCategory(String cat, String state)throws Exception{


              return abbreviation.getAbbrByCategory(cat, state);





          public List<String> getShortName(String fullName)throws Exception{

              return abbreviation.getShortName(fullName);







      Please advice on this. Thanks