Hi, this is probably related to
https://issues.apache.org/jira/browse/CXF-5320

Cheers, Sergey
On 11/06/15 15:33, Jose María Zaragoza wrote:
2015-06-11 16:02 GMT+02:00 Jose María Zaragoza <demablo...@gmail.com>:
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>


Well , i think my problem is using a  placeholder as
http-conf:conduit's name property
Cannot I use a placeholder as http-conf:conduit's name property  ?


Regards




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