After solving the security exception, I'm back to the above error. Rather
than double-posting, I'm reviving this thread.

Here is the current way I'm generating my service/proxy:
        @BeforeClass
        public static void setupForTesting(){
                ServerFactoryBean svrFactory = new ServerFactoryBean();
                svrFactory.setServiceClass(AService.class);
                svrFactory.setAddress("cxf:vm://local/AService/1.0"); 
                svrFactory.setTransportId(LocalTransportFactory.TRANSPORT_ID);
                svrFactory.setServiceBean(new AServiceImpl());
                //svrFactory.setInInterceptors(getInInterceptors());
                //svrFactory.setOutInterceptors(getOutInterceptors());
                svrFactory.setServiceName(new QName("AService/1.0"));
                svrFactory.create();
                
                ClientProxyFactoryBean factory = new ClientProxyFactoryBean();
                factory.setTransportId(LocalTransportFactory.TRANSPORT_ID);
                factory.setServiceClass(AService.class); 
                factory.setAddress("cxf:vm://local/AService/1.0"); 
                aServiceProxy  = (AService) factory.create();
        }

Googling is no help, and this forum only yields one hit, but the problem was
never solved. Anyone have a working example of the vm/local transport?
-- 
View this message in context: 
http://www.nabble.com/Exception-using-local-transport%3A-%22Non-default-namespace-can-not-map-to-empty-URI%22-tp24943449p24954586.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to