Saved Bookmarks
| 1. |
What Is A Proxy In Web Service? How Do I Use A Proxy Server When Invoking A Web Service? |
|
Answer» If you are USING the SOAP Toolkit, you need to set some connector properties to use a proxy server: Dim soap As SoapClient Set soap=New SoapClient soap.ConnectorProperty("ProxyServer") = ?proxyservername? soap.ConnectorProperty("ProxyPort") = ?8080? soap.ConnectorProperty("UseProxy") = TrueWhile with .NET , you just need to create a System.Net.WebProxy object and use it to set the Proxy PROPERTY Dim webs As localhost.MyService() webs.Proxy=New System.Net.WebProxy(?HTTP://proxyserver:8080?)If you are using the SOAP Toolkit, you need to set some connector properties to use a proxy server: While with .NET , you just need to create a System.Net.WebProxy object and use it to set the Proxy property Dim |
|