Tutorial by Examples

The way to do a JAX-WS call with basic authentication is a little unobvious. Here is an example where Service is the service class representation and Port is the service port you want to access. Service s = new Service(); Port port = s.getPort(); BindingProvider prov = (BindingProvider)port; ...

Page 1 of 1