Do you use a proxy to get from your LAN to the Internet?  If so, your
SOAP client must likewise use the proxy.

If you use a nightly build of Apache SOAP, you can specify proxy
information on the command line:

    java -Dhttp.proxyHost=xxxx -Dhttp.proxyPort=nn MySoapClient

For Apache SOAP 2.3.1 and earlier, you must programmatically set the
proxy information.  Some of the samples that come with Apache SOAP, such
as guidgen, show how to accept command line arguments to set these
values.

Scott Nichol

----- Original Message -----
From: "Malte Kempff" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, December 13, 2002 9:59 AM
Subject: need a Hint trobule with environment


> Hi there,
> I have soap-rpc-services, which I can reach correct in my ususal
> environment.
> We installed them now on a server, in the Internet.
> On an other computer it seems to work so far, but
> when I try to call the application on my computer in the LAN and it
tries to
> call the first service I get
> this Exception:
> [SOAPException: faultCode=SOAP-ENV:Client; msg=Error opening socket:
> java.net.NoRouteToHostException: Host unreachable: connect;
> targetException=java.lang.IllegalArgumentException: Error opening
socket:
> java.net.NoRouteToHostException: Host unreachable: connect]
>
>  at
>
org.apache.soap.transport.http.SOAPHTTPConnection.send(SOAPHTTPConnectio
n.ja
> va:354)
>
>  at org.apache.soap.rpc.Call.invoke(Call.java:248)
>
>  at
>
de.mc.etnbestterm.data.SoapCallingDataHolder.callSoaply(SoapCallingDataH
olde
> r.java:45)
>
>  at
>
de.mc.etnbestterm.data.MainDataHolder.connectServerToDB(MainDataHolder.j
ava:
> 395)
>
>  at
de.mc.etnbestterm.data.MainDataHolder.<init>(MainDataHolder.java:52)
>
>  at
>
de.mc.etnbestterm.util.SingletonManager.getMainDataHolder(SingletonManag
er.j
> ava:39)
>
>  at
de.mc.etnbestterm.gui.WillkommenPanel.jbInit(WillkommenPanel.java:67)
>
>  at
de.mc.etnbestterm.gui.WillkommenPanel.<init>(WillkommenPanel.java:51)
>
>  at de.mc.etnbestterm.gui.MainFrame.<init>(MainFrame.java:30)
>
>  at de.mc.etnbestterm.Bestellterminal.<init>(Bestellterminal.java:35)
>
>  at de.mc.etnbestterm.Bestellterminal.main(Bestellterminal.java:77)
>
>
> When I try to call the rpcrouter via browser to get the Message, "I
don't
> speak via HTTP GET- you have to use HTTP POST to talk to me."
> it works fine.
> what can I do to resolve the problem?
>
> thanks in advance,
>
> Malte
>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to