Willem, do you know what you meant there by "poltim"?--that was in your
change.


Maciej Kwiecien wrote:
> 
> K, I found out that according to
> 
> http://cwiki.apache.org/CXF20DOC/client-http-transport.html
> 
> HTTPConduit should be used.
> 
> import org.apache.cxf.endpoint.Client;
>   import org.apache.cxf.frontend.ClientProxy;
>   import org.apache.cxf.transport.http.HTTPConduit;
>   import org.apache.cxf.transports.http.configuration.HTTPClientPolicy;
>   ...
> 
>   URL wsdl = getClass().getResource("wsdl/greeting.wsdl");
>   SOAPService service = new SOAPService(wsdl, serviceName);
>   Greeter greeter = service.getPort(portName, Greeter.class);
> 
>   // Okay, are you sick of configuration files ?
>   // This will show you how to configure the http conduit dynamically
>   Client client = ClientProxy.getClient(poltim);
>   HTTPConduit http = (HTTPConduit) client.getConduit();
> 
> 
> 
> There is only one problem what "poltim" is ? ;-)
> 

-- 
View this message in context: 
http://www.nabble.com/How-to-set-HTTP-Proxy--tp18586622p18589402.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to