pb客户调用服务器的webserver,怎么实现啊
客户机不能上网,只有一台服务器可以上网,但客户机又要调用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)
ArgumentDescription
connThe name of the SoapConnection object that establishes the connection
addressA string containing the host name address and port of the proxy server, and optionally, an endpoint in the format:http://hostname:port/path
hostnameA string containing the host name
portA long for the proxy server port
userIDA string containing the user ID for the proxy server
passwordA string containing the proxy server password
Return value
Long. Valid values are 0 for success, and 50 for failure.
[解决办法]