Učitavanje sadržaja sa https (SSL) lokacija
22.04.2010. u 12:11 · pre 200 meseci
#1
WSDL Narodne Banke Srbije se nalazi na adresi https://webservices.nbs.rs/CommunicationOfficeService1_0/ExchangeRateXmlService.asmx?WSDL.
Obicnim (http) adresama sam pristupa ovako:
Kako da ucitam sadrzaj sa https adresa?
Obicnim (http) adresama sam pristupa ovako:
Code:
URL yahoo = new URL("http://www.yahoo.com/");
URLConnection yc = yahoo.openConnection();
BufferedReader in = new BufferedReader(
new InputStreamReader(
yc.getInputStream()));
String inputLine;
while ((inputLine = in.readLine()) != null)
System.out.println(inputLine);
in.close();
URL yahoo = new URL("http://www.yahoo.com/");
URLConnection yc = yahoo.openConnection();
BufferedReader in = new BufferedReader(
new InputStreamReader(
yc.getInputStream()));
String inputLine;
while ((inputLine = in.readLine()) != null)
System.out.println(inputLine);
in.close();
Kako da ucitam sadrzaj sa https adresa?