cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fachhoch <fachh...@gmail.com>
Subject spring cxf client
Date Thu, 25 Mar 2010 12:40:09 GMT

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.


Mime
View raw message