[jboss-user] [JBossWS] - Cannot find ServiceFactory implementation

stewchicken do-not-reply at jboss.com
Sun Nov 19 11:42:09 EST 2006


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
Thanks. 


  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);

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3987155#3987155

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3987155



More information about the jboss-user mailing list