We don't have a "threadsafe sample" per se, although I suspect most of the samples provided with the CXF distribution (specifically, those that don't include any of the exceptions given at the link you provided below) would in fact be thread-safe. I'm not sure which of the four exceptions listed are being violated by your code segment below, therefore it should be threadsafe.

Glen

On 12/13/2012 09:26 PM, cantalou89 wrote:
hi all:
I use wsdl2java(cxf2.6.2) to generate WebService client code , the genereated 
code:
         URL wsdlURL = OrderService_Service.WSDL_LOCATION;
         OrderService_Service ss = new OrderService_Service(wsdlURL, 
SERVICE_NAME);
         OrderService port = ss.getOrderServiceImplPort();
on the cxf website answer that is not threadsafe, 
http://cxf.apache.org/faq.html#FAQ-AreJAXWSclientproxiesthreadsafe%3F
but i cant find the threadsafe sample, who can share the tutorial ?
thanks .



cantalou89


--
Glen Mazza
Talend Community Coders - coders.talend.com
blog: www.jroller.com/gmazza

Reply via email to