Hi, I guess my subject doesn't make much sence, but I'm not sure how to describe what I want in common webservice/CXF terms, so I guess I just try to describe what I want in more layman terms:
If I have a service class of some sort, that implements the interface MySimpleManager, that has just a few methods, then I can expose that as a webservice, with a single endpoint, and on the client side I get an object that also implements MySimpleManager and CXF handles everything for me so I don't really have to think much about how it actually makes my method calls transfer to the server. But what if I instead have an interface MyComplexManager, that has alot of methods on it. What I would like to do then is to move some of these methods to other interfaces, and have the MyComplexManager return instances of these other interfaces, with in turn does all the work. But I would still like to use a single webservice endpoint. How can I do that? So, to be more concreate, I want to be able to do something like this: JaxWsProxyFactoryBean factory = new JaxWsProxyFactoryBean(); factory.setServiceClass(MyComplexManager.class); factory.setAddress(webServiceUrl); manager = (MyComplexManager) factory.create(); XManager xManager= manager.getXManager();//These objects should *also/ be "endpoints" of some sort, YManager yManager= manager.getYManager();//meaning that real implementation objects are on the server side .. X x = xManager.getX(100);//These calls should also happend over the web service Y y = yManager.getY(100); Can this be done? I have looked, but couldn't find any example of this. Maybe it is called something special, and I just haven't used the right search terms... Regards /Jimi
