Can a service called locally using the URL local://ServiceName run in the
same thread as the calling method. My code to invoke the service looks like
this

ClientProxyFactoryBean factory = new ClientProxyFactoryBean();
factory.setServiceClass(serviceClass);
factory.setAddress("local://" + serviceName);
factory.setDataBinding(new AegisDatabinding());
service = factory.create();

When I invoke a method on the service, it runs it fine but in a separate
thread. I'm having trouble because I have a Thread local variable in my
service that needs that's initialized by the calling thread, but isn't
present in the service thread.

-- 
View this message in context: 
http://www.nabble.com/Can-a-web-service-runing-locally-run-in-the-same-thread-as-the-caller-tp17911113p17911113.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to