3 Replies Latest reply on Nov 20, 2006 4:57 PM by Fang Cheng

    Cannot find ServiceFactory implementation

    null null Newbie

      Dear All

      I publish WebSerivce (vid EJB EntryPoint) sucessfully
      But When I use a remote client to call it , I always get below exception

      javax.xml.rpc.ServiceException: Cannot find ServiceFactory implementation

      1) Below is a snippet of my remote client code.
      Could any of you give me some hints ?

      2) Is there any easy way to test web service (via EJB Entry Point)
      like SUN AppServer(glassfish), web service can be tested on Server's Admin console. no need to write remote client to test it

      URL url = new URL("http://bearingp-9o5cye:8080/psm-aapt-AAPT_CD005_V04/ProductServiceMgmtWebServiceBean?wsdl");

      QName serviceName = new QName("ProductServiceMgmtWebServiceBean");

      ServiceFactory factory = ServiceFactory.newInstance();
      Service service = factory.createService(url, serviceName);

      webService = (ProductServiceMgmtWebService) service.getPort(ProductServiceMgmtWebService.class);