[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ajug-members]: capture xml



Java Secure Sockets Extensions (JSSE) enables you to use SSL. It is 
available in JDK 1.4. For older JDKs, you need to install it as an 
optional package.

Ben McEwen wrote:

>You can just open an input stream from a URL object.  You may have to use an
>authenticator to hit a secure site though.
>
>
>java.net.URL url = new java.net.URL("https://foo.com/xml.jsp?param=val";);
>java.io.InputStream istream = url.openStream();
>
>
>-----Original Message-----
>From: Jason Kretzer/STAR BASE Consulting Inc.
>[mailto:JKretzer@starbaseinc.com] 
>Sent: Tuesday, April 20, 2004 2:30 PM
>To: Unlisted-recipients 
>Subject: [ajug-members]: capture xml
>
>
>Hello all, 
>
>I would like to be able to do the following.  Have a class that can go to a
>URL   
>
>https://someWebSite.com/giveXML.jsp?someparam=paramOne 
>
>and capture the xml that is sent.  Where does one begin in accomplishing
>this? 
>
>thanks, 
>
>-Jason
>
>
>  
>