} catch ( MalformedURLException e ) {
throw new IllegalArgumentException( e );
}
Service service = Service.create( url, new QName( NAMESPACE_URI, SERVICE_NAME ) );
IUnifiedRepositoryJaxwsWebService port = service.getPort( IUnifiedRepositoryJaxwsWebService.class );
// http basic authentication
( (BindingProvider) port ).getRequestContext().put(
BindingProvider.USERNAME_PROPERTY,
getOptionValue( Messages.getInstance().getString( "CommandLineProcessor.INFO_OPTION_USERNAME_KEY" ), Messages
.getInstance().getString( "CommandLineProcessor.INFO_OPTION_USERNAME_NAME" ), true, false ) );