Hi Dan,
It is working for me after including following import statements in my
client config file.
<import resource="classpath:META-INF/cxf/cxf.xml" />
<import resource="classpath:META-INF/cxf/cxf-extension-soap.xml" />
<import resource="classpath:META-INF/cxf/cxf-servlet.xml" />
Could you please explain me why we need to add the above imports?
I also have a couple of queries regarding the Conduit.
1. is it possiable to define the conduit(Htttp-timeout) for diffrenet
services which residing at same address?
example:
<http-conf:conduit
name="{http://test.com/}AuthorizationServicePort.http-conduit">
<http-conf:client ConnectionTimeout="5000" ReceiveTimeout="5000" />
</http-conf:conduit>
<http-conf:conduit name="{http://test.com/}SecuirtServicePort.http-conduit">
<http-conf:client ConnectionTimeout="3000" ReceiveTimeout="3000" />
</http-conf:conduit>
2. is it possibale to set the timeout per operation basis?
3. whether the Http-Conduit what we define in config is threadsafe?
4. The connections(HTTP) what ever created while making a communication with
endpoint is maintained in pool (http connection caching) if not there is any
way to cache the connection using the config like number of connections ?
--
View this message in context:
http://cxf.547215.n5.nabble.com/Setting-Http-conduit-using-spring-configuration-file-tp2644363p2652504.html
Sent from the cxf-user mailing list archive at Nabble.com.