Hello:

I'm using CXF 2.7.8 to implement several webservice proxy clients  (
SOAP , REST )

All of them have the same timeout parameters:

<http-conf:conduit name="http://.*";>
       <http-conf:client ConnectionTimeout="5000" ReceiveTimeout="10000" />
</http-conf:conduit>

Now, one of them ( http://foo.com/ )  needs BASIC auth


If I configure

<http-conf:conduit name="http://.*";>
       <http-conf:client ConnectionTimeout="5000" ReceiveTimeout="10000" />
</http-conf:conduit>

<http-conf:conduit name="http://foo.com/.*";>
       <http-conf:client ConnectionTimeout="5000" ReceiveTimeout="10000" />
       <http-conf:authorization>
      <sec:UserName>xxx</sec:UserName>
             <sec:Password>xxx</sec:Password>
      </http-conf:authorization>
</http-conf:conduit>


foo.com's proxy client takes the first configuration , not the more
restrictive .
That's weird for me . Shouldn't it be more more restrictive first ?


How I can configure global settings for all proxy clients and to set
individual parameters to one proxy client ?

Thanks and regards

Reply via email to