Hello,

I am trying to communicate with a webservice, my java-code looks like this:

final JaxWsProxyFactoryBean factory = new JaxWsProxyFactoryBean();
factory.setBindingId("http://schemas.xmlsoap.org/wsdl/soap12/";);
factory.setUsername("user");
factory.setPassword("pass");
factory.setAddress("http://<ip>:<port>/deviceService");
factory.setServiceClass(Device.class);
final Device deviceService = factory.create(Device.class);
final SystemDateTime response = deviceService.getSystemDateAndTime();

In wireshark I can see that the request only uses basic authorization which
results in error 401.

How can I communicate with the webservice using http digest?



--
View this message in context: 
http://cxf.547215.n5.nabble.com/How-to-use-HTTP-Digest-when-communicating-with-a-WebService-using-JaxWsProxyFactoryBean-tp5754858.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to