Hi, It's thread safe in most cases, though there are several exceptions that it's not thread safe listed here[1]. If your scenario not fit those exceptions, then the proxy is thread safe for you. Otherwise you probably need create a proxy per thread.
[1]http://cxf.apache.org/faq.html#FAQ-AreJAXWSclientproxiesthreadsafe%3F ------------- Freeman(Yue) Fang Red Hat, Inc. FuseSource is now part of Red Hat Web: http://fusesource.com | http://www.redhat.com/ Twitter: freemanfang Blog: http://freemanfang.blogspot.com http://blog.sina.com.cn/u/1473905042 weibo: @Freeman小屋 On 2012-12-14, at 上午10:26, 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
