客户机不能上网,只有一台服务器可以上网,但客户机又要调用webserver 里提供的函数。有没有什么解决方案啊
------解决方案--------------------
写一个服务程序,转调webservice方法
------解决方案--------------------
先在能上网的服务器上将一个代理软件,如CCProxy。程序上PB
SoapConnection对象中有一个SetProxyServer方法可以用来设置代理
Description
Sets the address, port, user name, and password for the proxy server. This method has two syntaxes.
Syntax
conn.SetProxyServer (string address, string userID, string password)
conn.SetProxyServer (string hostname, long port, string userID, string password)
Argument Description
conn The name of the SoapConnection object that establishes the connection
address A string containing the host name address and port of the proxy server, and optionally, an endpoint in the format:http://hostname:port/path
hostname A string containing the host name
port A long for the proxy server port
userID A string containing the user ID for the proxy server
password A string containing the proxy server password
Return value
Long. Valid values are 0 for success, and 50 for failure.
------解决方案--------------------