If I proceed like this:

BasicAuthenticator ba = new BasicAuthenticator("user_a","claves");
  | Authenticator.setDefault(ba);
  | String urlstr = 
"https://cor319.cor-fs.com:8443/BitaStarWebServices/TestService?wsdl";;
  | String argument = "claves";
  | System.out.println("Contacting webservice at " + urlstr);
  | URL url = new URL(urlstr);
  | QName qname = new QName("https://ws.web.bitastar.bitaplus.com/";, 
"TestService");
  | ServiceFactory factory = ServiceFactory.newInstance();
  | Service service = factory.createService(url, qname);
  | WebServicesTestInt wst = (WebServicesTestInt) 
service.getPort(WebServicesTestInt.class);
  | 

I'm able to authenticate, but I'd like to be sure this is a good method (i 
didn't even need to set the stub login and password properties)


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4012017#4012017

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4012017
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to