Bonjour,

depuis mes applications je souhaite accéder à internet, mais je n'y arrive pas.
Je suis derrière un proxy.

J'ai mis cela dans le fichier run.bat :

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
 
set JAVA_OPTS=%JAVA_OPTS% -Dhttp.proxyHost=xx.xx.x.xxx
set JAVA_OPTS=%JAVA_OPTS% -Dhttp.proxyPort=xx
set JAVA_OPTS=%JAVA_OPTS% -Dhttp.noProxyHosts="localhost"
set JAVA_OPTS=%JAVA_OPTS% -DproxySet=true
set JAVA_OPTS=%JAVA_OPTS% -Dhttp.proxyUser=xxxxx
set JAVA_OPTS=%JAVA_OPTS% -Dhttp.proxyPassword=xxxxxx
J'ai l'erreur suivante :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
 
javax.xml.rpc.JAXRPCException: Exception while performing call. Unable to read server response. Server returned status code: 404 Not found (Content-type: text/html; charset=iso-8859-1):
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL /WeatherForecast.asmx was not found on this server.</p>
<hr>
<address>Apache/2.2.3 (Fedora) Server at www.webservicex.net Port 80</address>
</body></html>
 
 
org.systinet.wasp.client.XMLInvocationException: Exception while processing incoming message message. Unable to read server response. Server returned status code: 404 Not found (Content-type: text/html; charset=iso-8859-1):
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL /WeatherForecast.asmx was not found on this server.</p>
<hr>
<address>Apache/2.2.3 (Fedora) Server at www.webservicex.net Port 80</address>
</body></html>
Merci pour votre aide.