private boolean init() throws RexXMLAExecuteException{
try {
Authenticator.setDefault (new Authenticator (){
protected PasswordAuthentication getPasswordAuthentication() {
AuthenticationDialog ad = new AuthenticationDialog(null, endpoint.toString());
return new PasswordAuthentication (ad.getUsername()
, ad.getPasswordCA());
}
});
urlConnection = (HttpURLConnection) endpoint.openConnection();
urlConnection.setRequestMethod("POST");
urlConnection.setDoInput(true);