es war Freitag und dunkel .... sorry
modifying java.security and java.policy files - adding JSSE jars
jsse.jar, jnet.jar, jcert.jar in Domino\jvm\lib\ext
Server = "
https://www.schnatter.com/cgi-bin/abfrage.cgi?";
System.setProperty("java.protocol.handler.pkgs", "com.sun.net.ssl.internal.www.protocol");
public String HTTPS_Get_XML(String Server){
String XML_Text = "";
try {
URL url = new URL(Server);
com.sun.net.ssl.HttpsURLConnection conn = (com.sun.net.ssl.HttpsURLConnection) url.openConnection();
conn.setDoInput(true);
conn.setDoOutput(true);
conn.setUseCaches(false);
conn.setDefaultUseCaches(false);
conn.setRequestProperty("Connection", "Keep-Alive");
conn.setRequestProperty("Authorization", userNamePasswordBase64("xxx", "xxx"));
conn.connect();
BufferedReader br = new BufferedReader(new InputStreamReader(conn.getInputStream(), "ISO-8859-1"));
File f = new File("C:/yy/yy.xml");
FileWriter fw = new FileWriter(f);
BufferedWriter bw = new BufferedWriter(fw);
String Line = "";
while (null != (Line = br.readLine())) {
XML_Text = XML_Text + Line;
bw.write(Line);
}
br.close();
bw.close();
fw.close();
} catch (MalformedURLException e) {
e.printStackTrace();
} catch (IOException e) {
e.printStackTrace();
}
return(XML_Text);
}