473,396 Members | 1,766 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,396 software developers and data experts.

I can't add a Web Reference

Hello

I am developing a website that has a Web Service that I want to expose to
Windows Forms based SmartClients when I try to add the web reference to the
smart client I get the following message in the "Web services found at this
URL:" box of the "Add Web Reference" dialog

There was an error downloading
'http://localhost/WebSite1/Folder1/WebService1.asmx'.

The request failed with the error message:
--
<html><head><title>Object moved</title></head><body>
<h2>Object moved to <a
href="/WebSite1/Folder1/WebService1.asmx?AspxAutoDetectCookieSupport=1">he re</a>.</h2>
</body></html>

--.

What can I do to stop this from happening and/or enable myself to add a
reference to the Web Service

Thanks

Alex
Feb 2 '06 #1
3 4105
Hi Alex,

Thank you for posting.
Regarding on this issue, I've also found your another duplicated thread in
the following newsgroup:

Newsgroups: microsoft.public.dotnet.framework.aspnet.webservic es
Subject: RE: I can't add a Web Reference

I've posted my response there. Also, if you feel it convenient that we
continue to discuss in that thread, please feel free to post there.

Regards,

Steven Cheng
Microsoft Online Support

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

Feb 3 '06 #2
Are you sure you shouldn't be getting the WSDL from this instead (note ?wsdl
query string):

http://localhost/WebSite1/Folder1/WebService1.asmx?wsdl

If not, then the redirect tells me you've got authentication setup for that
URL, thus you need to have logged in to access the URL. I don't know if you
want that or not?

-Brock
http://staff.develop.com/ballen

Hello

I am developing a website that has a Web Service that I want to expose
to Windows Forms based SmartClients when I try to add the web
reference to the smart client I get the following message in the "Web
services found at this URL:" box of the "Add Web Reference" dialog

There was an error downloading
'http://localhost/WebSite1/Folder1/WebService1.asmx'.

The request failed with the error message:
--
<html><head><title>Object moved</title></head><body>
<h2>Object moved to <a
href="/WebSite1/Folder1/WebService1.asmx?AspxAutoDetectCookieSupport=1
">here</a>.</h2>
</body></html>
--.

What can I do to stop this from happening and/or enable myself to add
a reference to the Web Service

Thanks

Alex

Feb 3 '06 #3
Hi Brock

I have not intentionally applied any authentication to my web service, how might
I check to see if authentication has been applied to it? I created it in the
same way I would in VS 2003 and tried to add a reference to it in the same way
as I would have in VS 2003, the website itself uses the role and membership
features of asp.net 2.0 might they be cause?

Alex
Feb 3 '06 #4

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

Similar topics

5
by: Jan Pieter Kunst | last post by:
(apologies if this message is a duplicate -- my news server seems to have problems) Greetings, When using PHP 4, this: // ex. 1 class A { function A(&$obj) {
2
by: RU | last post by:
Hi, I am working on a porting project to port C/C++ application from unixware C++, AT&T Standard components to g++ with STL on Linux. This application has been working properly on...
26
by: Dave Hammond | last post by:
In document "A.html" I have defined a function and within the document body have included an IFRAME element who's source is document "B.html". In document "B.html" I am trying to call the function...
13
by: Abe Frohnman | last post by:
Hello all, I'm passing a reference to a class into the constructor of a form, like so: public MyForm(int count, ref Area myArea) {...} How can I use myArea outside the constructor? Should I...
4
by: z_learning_tester | last post by:
I'm reading the MS press C# book and there seems to be a contradiction. Please tell me which one is correct, 1 or 2. Thanks! Jeff 1. First it gives the code below saying that it prints 0 then...
6
by: TZ | last post by:
I have two classes, UIHousehold and WIZEditHousehold (both are winforms). UIHousehold creates and shows the WIZEditHousehold (WIZEditHousehold can't be modal, so UIHousehold doesn't know when...
3
by: Michael Sgier | last post by:
Hi i get thousands of messages like below. How shall i resolve that? Thanks Mcihael Release/src/Utility/RawImage.o: In function `CMaskImage::CMaskImage(int, int, char const*)':...
2
by: jjcp | last post by:
I would like to say thanks in advance for insight anyone can shed on this for me. Long story short from time to time I need to us C++ to take a list of file and make an index out of them in...
14
by: Monty | last post by:
Hello, I have created a solution which has both a web UI and a winform UI, the latter is just for administrators. The Web UI (a Web Application Project) and the winform project both...
22
by: clicwar | last post by:
A simple program with operator overloading and copy constructor: #include <iostream> #include <string> using namespace std; class Vector { private: float x,y; public: Vector(float u, float...
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: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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
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...

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.