I think i get it, you need these properties in your lookup:
p.put(Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.client.RemoteInitialContextFactory"); p.put(Context.PROVIDER_URL, "http://localhost:8080/openejb/ejbd"); // note: in next versions "openejb" is replaced by "tomee" - Romain 2012/3/20 slawek <[email protected]> > Hello Romain, > > I have compressed to zi[ archive my two test projects: > - ejb_ejb - is a simple ejb project > - ejb_ws_2 is a simple web service, which try to return via webservice > inforomation from ejb_ejb. There are few method but core problem i have > tested in zwrocTekstZEjb2 and zwrocTekstZEjb3. > > You can download eclipse projects from > http://iem.pw.edu.pl/~wojciecs/projects.zip > > Best Regards > sw > > -- > View this message in context: > http://openejb.979440.n4.nabble.com/ejb-from-ws-tp4470387p4487737.html > Sent from the OpenEJB User mailing list archive at Nabble.com. >
