I am stuck using xfire, upgrading the CXF as much as I would like to, is not
an option at this time.

I am trying to insert my own TrustManager when making a SOAP call. Here is
what I have so far, any assistance would be appreciated.

[code]
Service serviceModel = new
ObjectServiceFactory().create(FortiManagerWSPortType.class);
XFireProxyFactory factory = new XFireProxyFactory(); 

TrustManager[] trustManager = new TrustManager[]{new MyTrustManager()};
SoapHttpTransport transport = new SoapHttpTransport();

FortiManagerWSPortType client = (FortiManagerWSPortType) factory.create(
                serviceModel, 
                transport,
                "www.url.com");
[code]

--
View this message in context: 
http://cxf.547215.n5.nabble.com/XFire-s-Transport-and-TrustManager-tp4286664p4286664.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to