[jboss-user] [JBossWS] - Re: Unscuring wsdl definition
tremalnaik
do-not-reply at jboss.com
Tue Feb 6 11:40:45 EST 2007
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
More information about the jboss-user
mailing list