Hi,
After following code is added to the axis2 client, what's work flow, and
who should verify this username and password? Thanks.
ArrayList<String> authSchemes = new ArrayList<String>();
authSchemes.add(HttpTransportProperties.Authenticator.BASIC);
HttpTransportProperties.Authenticator auth = new
HttpTransportProperties.Authenticator();
auth.setPreemptiveAuthentication(true);
auth.setAuthSchemes(authSchemes);
auth.setUsername(username);
auth.setPassword(password);
client.getOptions().setProperty(HTTPConstants.AUTHENTICATE,
auth);
Hailong Wang
National Database for Autism Research(NDAR)
NIH/CIT/DECA (MOM CONTRACTOR)
9000 Rockville Pike, Bld 12A/Room 2027
Bethesda, MD 20892
Phone: 301-402-3045
Fax: 301-480-0028
Email: [EMAIL PROTECTED]
URL: http://ndar.nih.gov