In the meantime I found some java coding:
String url = "https://maps.googleapis.com/maps/api/timezone/xml?location=-33.510000,151.200000×tamp=1696060417"
String res = "";
int readtimeout = 10000;
try {
java.net.URL jUrl = new java.net.URL(url);
java.net.URLConnection jCon = jUrl.openConnection();
jCon.setReadTimeout(readtimeout);
java.io.InputStream ins = jCon.getInputStream();
if (in.maxRespSize > 0)
{
{
int cnt = 0;
int b = ins.read();
while (b > -1 && cnt < in.maxRespSize)
{
{
res += Character.toChars(b).get(0).toString();
b = ins.read();
cnt++;
}
}
}
}
}
}
catch (java.net.MalformedURLException e) {
in.e.e = e.getMessage() + "#ReadTimeout="+readtimeout;
in.e.Remark = e.stackTrace.toString();
ivy.log.error("URLOpenStream ("+e.getClass().getName()+"):" + in.e.e + ":" + url);
}
}
catch (java.io.IOException e) {
in.e.e = e.getMessage() + "#ReadTimeout="+readtimeout;
in.e.Remark = e.stackTrace.toString();
ivy.log.error("URLOpenStream ("+e.getClass().getName()+"):" + in.e.e + ":" + url);
}
}
catch (Exception e) {
in.e.e = e.getMessage() + "#ReadTimeout="+readtimeout;
in.e.Remark = e.stackTrace.toString();
ivy.log.error("URLOpenStream ("+e.getClass().getName()+"):" + in.e.e + ":" + url);
}
}
But HTTP-Error 407 will happen -
I don't understand this, because the following parameters are in the ...\AxonIvyEngineA51\jre\lib\net.propierties-file:
http.proxyHost=xxxxxx.yyyyyy-zzzzzz.loc
http.proxyPort=8080
http.nonProxyHosts=localhost|127.*|[::1]
http.nonProxyHosts=ivy3|ivy3.thiel-logistik.loc|localhost|127.*|[::1]
Who can help me?
Thank you