473,386 Members | 1,621 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Webservice call from VB.net app blocked

I have made an desktop application which connects to a webservice
running on a remote webserver.
When my exe-file connects to the webservice, the firewall (my Norton
Internet Security firewall, as well as the Windows XP SP2 firewall)
always block this call. I was asked if something could be done about
this, so you would not have to configure your firewall to run the app.

Is there some other way to "talk" to a webservice so that a firewall
doesn't notice?

This is what I use now:
Code:
Dim w as TheWeather.WeatherService

w = New TheWeather.WeatherService

If returnedErrorCode = 0 Then

errorCode = 0
result = w.Weather(countryID, locationID, tempUnit,
"")
....
A web reference is added to the project, called TheWeather.
Nov 21 '05 #1
1 4751
The reason why these firewalls prompt the user to allow access is because
they are application based. This means that when a certain application
attempts to access internet resources, the firewall kicks in to:

1. Determine which application initiated the connection

2. If there are any firewall rules that will allow/disallow the connection.

If the firewall finds rules for the app, then they are executed. If not,
then the firewall prompts the user for next steps.

I know the Windows Firewall is programmable. This means that you can add
your own application to the list of applications and then open the needed
ports to establish the conenction. Here's the Windows Firewall Platform SDK
reference:

http://msdn.microsoft.com/library/de...asp?frame=true

As for Norton's firewall, you will have to ask them to see if they have a
public API that allows your application to manipulate the firewall.

--
Eric Cherng
MCP, MCDBA, MCSD
http://echerng.com
http://vertigosoftware.com
"gillcleeren" <gi*********@gmail.com> wrote in message
news:a2**************************@posting.google.c om...
I have made an desktop application which connects to a webservice
running on a remote webserver.
When my exe-file connects to the webservice, the firewall (my Norton
Internet Security firewall, as well as the Windows XP SP2 firewall)
always block this call. I was asked if something could be done about
this, so you would not have to configure your firewall to run the app.

Is there some other way to "talk" to a webservice so that a firewall
doesn't notice?

This is what I use now:
Code:
Dim w as TheWeather.WeatherService

w = New TheWeather.WeatherService

If returnedErrorCode = 0 Then

errorCode = 0
result = w.Weather(countryID, locationID, tempUnit,
"")
...
A web reference is added to the project, called TheWeather.

Nov 21 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: MA | last post by:
Hi all! I know there is other newsgroups for webservices, but I donīt get any answers on those. I have developed a webservice that writeing and reading files in different folders. Question...
1
by: Nalaka | last post by:
Hi, I am testing with Visual studio 2005, web projects. Situation: I have one solution with two web projects, created as file system projects. (I am tesing using the built in server, not IIS)...
11
by: Andy | last post by:
Make the story short, I have a VB.NET client interface calling .NET webservice, written in VB.NET as well. I am trying to make the client as thin as possible so I let the webservice part to...
7
by: Q. John Chen | last post by:
All, I have a WebService created in .NET. I have VB6 Client consume the WebService (using Soap ToolKit 3.0) But I have couple user who got error accessing the WebServer with error message...
1
by: Alexandre (www.pointnetsolutions.com) | last post by:
I am looking at building a distributed system, and i have been looking at many different options, in some cases i was thinking of a client server relation where a client would send a string to...
0
by: whiterabbit | last post by:
hi! i use a webservice to connect my PivotTable to my cube. but often my webservice blocked on the line: "Dim o_PT as New PivotTableClass" and i don't understand why. the dll...
0
by: alberich | last post by:
I have a problem securing my webservice with Windows authentication. The goal is a client app transfering (large amounts of) data to a server which is blocked for anonymous requests. To do this,...
7
by: GD | last post by:
Hi, I am trying to call a webservice from a windows service application. It works only if I launch the windows service app from VS.Net 2005 (Worked around from Main()) or from a winform test...
2
by: =?Utf-8?B?TGFycnlLdXBlcm1hbg==?= | last post by:
Our WebDev team seems to have found a problem that exposes a bug in .NET 2.0. This problem can be shown when trying to access a WebService using SSL and through a proxy server after using the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.