473,399 Members | 2,774 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,399 software developers and data experts.

Problem adding a web reference - VS.Net 2005

VS.Net 2005 on Win XP SP2

I'm trying to add a web reference to an external SOAP application written in
RemObjects, but when I attempt to add the reference I get an error message
saying "The proxy settings on this computer are not configured correctly for
web discovery. Press F1 for more information". I am not using a proxy server
or behind a firewall. Other people are able to access the service (from
tools other than VS.Net), but I am not. However, I was able to access it
briefly last week, but now cannot again. I am able to create a web reference
to some other services, such as this:

https://adwords.google.com/api/adwor...gnService?wsdl
http://lottoexchange.net/LottoDrawings.php?wsdl
http://www.claudehussenet.com/ws/services/Anagram.wsdl
http://www.dataaccess.com/webservice...sions.wso?WSDL
The one I'm trying to connect to is in this format:

http://myservice.mydomain.com/projec...thing.dll/soap

One of the common remedies touted for this problem is to uncomment this line
in machine.config:

<!--<add verb="*" path="*.vsdisco"
type="System.Web.Services.Discovery.DiscoveryReque stHandler,
System.Web.Services, Version=1.0.3300.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a" validate="false"/>-->

However, I do not have that line. If I were to add it, under what section
would it go? Since I am able to add a reference to some sites, and
occasionally to the target site, I presume this is not the issue.

*UPDATE:*

This would appear to be related to my ISP. If I put the web service address
in my browser bar I get "Page cannot be displayed", but when my friend who
has a different ISP does it, he sees the XML. I moved to his place and am
able to access it from here. The odd thing, again, is that I ~was~ able to
access it last week with the old ISP. My settings (as far as I can tell) are
the same. The old ISP denies that they are using a proxy server. Also, I was
able to access other web services even when I couldn't access the desired
one.

Any ideas? TIA.
[I initially posted this in ms.public.vsnet.general before I found this
group. Sorry for the cross-post]
Apr 27 '06 #1
4 7067
Hi Monty,

Welcome to the MSDN newsgroup.

As for the VS IDE add webreference, it will just request the WSDL document
through http (if its a remote WSDL document over http), and then generate
the proxy code according to the downloaded WSDL document. As for your
scenario, you can not visit the WSDL document event through web browser, I
think this should be a internet connectivity issue. Also, you can try using
the command line tool (wsdl.exe) to create the webservice proxy externally,
and wsdl.exe tool support specify a web proxy for sending the http request
to the remote WSDL document.

#Web Services Description Language Tool (Wsdl.exe)
http://msdn.microsoft.com/library/en...ervicesdescrip
tionlanguagetoolwsdlexe.asp?frame=true

In addition, for generating webservice proxy, we can also first download
the WSDL document onto local disk, and Add webreference against the local
WSDL document in VS IDE. However, at runtime, we still need to connect to
the actual remote service. So I would suggest you change to use another
web proxy which can correctly connect to the remote service.

Regards,

Steven Cheng
Microsoft Online Community Support
==================================================

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Apr 28 '06 #2
Hi Steven,

Thanks for your reply. It would appear to be related to my ISP. When I try
it with Comcast, I get the error described above. When I try it with
BellSouth, it works fine. Comcast support flatly denies there is a proxy
server involved. The odd thing, of course, is that I am able to add a web
reference to some (like those listed previously), but not others. Are there
any other possibilities or factors that might cause this behavior?

Thanks again.
Apr 28 '06 #3
Thanks for your response Monty,

So currently the VS IDE behaves the same as the IE browser , yes? If so, I
think you can first try testing in IE first and then try making it work by
configure the web proxy used in IDE. And based on my understanding, VS IDE
will share the proxy setting in IE when we use the document explorer in VS
IDE to visit any external web resources.

Regards,

Steven Cheng
Microsoft Online Community Support
==================================================

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

May 1 '06 #4
Hi

If you use an automatic config script for your proxy settings VS.net
runs into problems. You have to physically specify the proxy url and
port in your connection settings.

VS.net will not pick up an auto script

*** Sent via Developersdex http://www.developersdex.com ***
Nov 24 '06 #5

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

Similar topics

13
by: Amadeus W. M. | last post by:
I have a member static const int x defined in class Foo, and I'm passing it by reference, and by value elsewhere (see the code below). Passing it by value works, but by reference it doesn't: it...
3
by: f1racing24 | last post by:
I am trying to compile this class in the command-line and this error comes up 'Start -> C:\Inetpub\wwwroot\DCReview_Brinkster\code>vbc /t:library /verbose...
0
by: ashukasama | last post by:
Hello All, I have a dll created in c# visual studio 2005. i wanted to use this dll in vc++ project created in visual studio 2003. I am doing following steps for using the dll developed in 2005:...
3
by: Jonathan Wood | last post by:
I could really use some help on this. First of all, I want to create a Web control where I render the control completely from scratch based on information from a database. In the book...
8
by: Harry Strybos | last post by:
Visual Studio 2005 - SP1 - VB.Net on WinXP SP2 I add a typed dataset to my solution and get the following errors : Error 1 sub 'ReadXmlSerializable' cannot be declared 'Overrides' because it...
2
by: Martin Eckart | last post by:
Hello, I have built a Hello World Web Service using Visual Studio 2005 and .NET 2.0 on machine A. Setting up a Web Site on machine B and adding a web reference to that WS works fine, without any...
1
by: vinodkreddy1 | last post by:
hi good morning every body... i have a problem in adding Reference of any dll to asp.net 2005. i am trying to add dlls reference to asp.net application. but they r not adding to the reference...
4
by: Clive Lumb | last post by:
Hi, I'm having a problem while adding objects to a collection. (VB.net 2005) I am reading data in from a file to a temporary variable (eg MyClass) and then adding it to a collection. When I...
5
by: VictorG | last post by:
Hello, I am trying to secure a webservice using WSE 3.0 and the turnkey usernameForCertificateSecurity profile. I am passing a valid username token, and on the server I have overridden the...
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...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.