CXF documentation tells  client creation

<jaxws:client id="findGrantsClient"
serviceClass="service.GrantsSearchService" 
address="http://mycompany:7001/artms/cxf/findGrants";>   </jaxws:client> 
and 

 cxf samples 

shows



    <bean id="client" class="demo.spring.HelloWorld" 
      factory-bean="clientFactory" factory-method="create"/>
    
        <bean id="clientFactory"
class="org.apache.cxf.jaxws.JaxWsProxyFactoryBean">
          <property name="serviceClass" value="demo.spring.HelloWorld"/>
          <property name="address" value="http://localhost:9002/HelloWorld"/>
        </bean>
          

which one should I follow and I will use this client in my  web application
so   are they thread safe ?

and can I set the address property at runtime ?


-- 
View this message in context: 
http://old.nabble.com/spring-cxf-client-tp28028273p28028273.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to