On Wednesday 10 December 2008 2:01:49 pm Steve Cohen wrote:
> Is it possible to have a cxf.xml file which has two sets of
> authentication parameters, each one selectable on the basis of which
> instance of the Web Service is being communicated with?
>
> My goal here is to have one application, deployable on both our test and
> production tiers that determines the service url and authentication
> parameters based on the environment it runs in (say by properties files).
>
> If so, what would such cxf.xml file look like?

There is a PropertyPlaceholderConfigurer thing in spring that can be used for 
this.   That said, you may need the latest 2.1.x snapshots depending on what 
you need to configure.   I just fixed the TLSClientParameters in the 
http:conduit yesterday.  :-(

That said, I haven't actually tried using the PropertyPlaceholderConfigurer 
thing.  I've just seen bugs related to it.   That would be something to 
google though.  :-)


-- 
Daniel Kulp
[EMAIL PROTECTED]
http://dankulp.com/blog

Reply via email to