Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem Using XML Web Service

Status
Not open for further replies.

Skittle

ISP
Joined
Sep 10, 2002
Messages
1,528
Location
US
I'm trying to use a free xml web service. I have never done this before. The problem is that when I try to access the web service I get the error message:-

'System.Net.WebException:
The underlying connection was closed: Unable to connect to the remote server'

I've had a look around the web and it seems to relate to a proxy or firewall. The only information I have been able o find indicating how to get round the problem is to add the following code to my web.config:-

<system.net>
<defaultProxy>
<proxy
usesystemdefault="false"
bypassonlocal="false"
proxyaddress=" />
</defaultProxy>
</system.net>

The http address and port number are filled in to match the settings from my browser. Trouble is I then get a dialogue box error in .Net saying:-

'Error while trying to run project: Unable to start debugging on the Web Server. Server side-error occurred on sending Http request.'

I am trying to use the free XML service at:-


Any help would be greatly appreciated as I am at a bit of a loss as to where to go from here.

Dazed and confused
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top