cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Glen Mazza <glen.ma...@gmail.com>
Subject Re: how to configure 2 clients with 2 different conduits
Date Tue, 14 Oct 2008 17:55:39 GMT

One option, look at Step #5, substeps #1 and #3 here:
http://www.jroller.com/gmazza/entry/implementing_ws_security_with_the

HTH,
Glen


Sagi Mann wrote:
> 
> Hi all,
> I have a working cxf-based ws client, now I need to configure another
> client inside the same app. Both clients need to access the same ws, but
> with different ssl settings, which are under the http:conduit element in
> cxf.xml. My question is simple: how to I configure 2 separate conduits,
> and associate each one to a different client?
> 
> Below is my client's cxf.xml. As you can see, I just added 2 clients, but
> they seem to be using the same conduit. I want them each to use a
> different conduit:
> 
>     <http:conduit name="*.http-conduit">
>           ...
>     </http:conduit>
>     
>     <jaxws:client id="client1" 
>                   serviceClass="MyWebServicePort" 
>                   address="https://mann2:8181/mywar/MyWebService"/>
>     
>     <jaxws:client id="client2" 
>                   serviceClass="MyWebServicePort" 
>                   address="https://mann2:8181/mywar/MyWebService"/>
> 
> 
> I'd appreciate any ideas, thanks...
> 
> 

-- 
View this message in context: http://www.nabble.com/how-to-configure-2-clients-with-2-different-conduits-tp19978628p19978844.html
Sent from the cxf-user mailing list archive at Nabble.com.


Mime
View raw message