This content has been marked as final.
Show 1 reply
-
1. Re: Basic authentication in a JBossWS web service client
jason.greene Mar 28, 2007 12:52 PM (in response to magnus.ahlander)See WebServiceContextJSETestCase in the samples:
port = (TestEndpoint)service.getPort(TestEndpoint.class); BindingProvider bp = (BindingProvider)port; bp.getRequestContext().put(BindingProvider.USERNAME_PROPERTY, "kermit"); bp.getRequestContext().put(BindingProvider.PASSWORD_PROPERTY, "thefrog");
-Jason