|
Hi Magne,
I tried pinging to 'www.fsa.gov.uk' and I got unknown host
error.
However, I changed the pgm a little bit so that I connect to
this website using proxy server.
On this occasion I got the following error....
COMMAND....
java -Djava.version=1.2 -classpath .:/test/jt400.jar Fsa
http://www.fsa.gov.uk/pubs/discussion/fs0401/FSAMarketsFeed-v1-0.zip
/test FSAMarketsFeed-v1-0.jar
ERROR....
java.io.FileNotFoundException:
http://www.fsa.gov.uk/pubs/discussion/fs04_01/FSAMarketsFeed-v1-0.zip
Any ideas?
Thanks in advance.
rgds,
Rajesh Anand
Email:Rajesh_anand@xxxxxx
-----Original Message-----
From: java400-l-bounces@xxxxxxxxxxxx
[mailto:java400-l-bounces@xxxxxxxxxxxx] On Behalf Of Magne Kofoed
Sent: 15 December 2004 17:00
To: Java Programming on and around the iSeries / AS400
Subject: RE: Sending XML using HTTp server from as400
Hi Rajesh,
the URLReader program works on my iSeries.
Try iSeries cmd: ping 'www.fsa.gov.uk'
If you don't get a ping answer, then your iSeries have no
access to the internet. If so, open for outgoing web traffic
from your iSeries through firewalls.
java -Djava.version=1.4 URLReader
http://www.fsa.gov.uk/pubs/discussion/fs04_01/FSAMarketsFeed-
v1-0.zip . fsafeed.zip
Destination: .
$
Rgds,
Magne
Date: Wed, 15 Dec 2004 14:09:36 -0000
From: "Anand, Rajesh" <Rajesh_Anand@xxxxxx> Add To Address
Book
Subject: RE: Sending XML using HTTp server from as400
To: "Java Programming on and around the iSeries / AS400"
<java400-l@xxxxxxxxxxxx>
I tried your program but I got the following error.
java.net.UnknownHostException: www.fsa.gov.uk
This is the command that I ran...
java -Djava.version=1.2 -classpath .:/java/jt400.jar Fsa
http://www.fsa.gov.uk/pubs/discussion/fs04_01/FSAMarketsFeed-
v1-0.zip
/test fsafeed.jar
Any ideas???
rgds,
Rajesh Anand
Email:Rajesh_anand@xxxxxx
--
This is the Java Programming on and around the iSeries / AS400
(JAVA400-L) mailing list
To post a message email: JAVA400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/java400-l
or email: JAVA400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/java400-l.
--------------------------------------------------------
If you are not an intended recipient of this e-mail, please notify the sender,
delete it and do not read, act upon, print, disclose, copy, retain or
redistribute it. Click here for important additional terms relating to this
e-mail. http://www.ml.com/email_terms/
--------------------------------------------------------
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.