473,785 Members | 2,767 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Add Web Reference

I am unable to add web reference in Visual Studio 2003. I get the following
error:

"Unable to download following files from
http://mysite.com/webservice.asmx?wsdl
Do you want to skip these files and continue?"

Also when i type the URL http://mysite.com/webservice.asmx?wsdl andt hen
click Go in the Add Web Reference dialog box, I get the following error.
"The document was understood, but it could not be processed.
The WSDL document contains links that could not be resolved.
- There was an error downloading
'http://mysite.com/webservice.asmx ?schema=DataSet 1"

I am stuck here for a long time now...Pls help!!!

Mar 10 '06 #1
3 11547
Did you create the wsdl yourself, or did vs.net create it? Were you able to
test the web service project directly and call the webmethods and have them
work?
"manika02" <ma******@discu ssions.microsof t.com> wrote in message
news:DB******** *************** ***********@mic rosoft.com...
I am unable to add web reference in Visual Studio 2003. I get the following
error:

"Unable to download following files from
http://mysite.com/webservice.asmx?wsdl
Do you want to skip these files and continue?"

Also when i type the URL http://mysite.com/webservice.asmx?wsdl andt hen
click Go in the Add Web Reference dialog box, I get the following error.
"The document was understood, but it could not be processed.
The WSDL document contains links that could not be resolved.
- There was an error downloading
'http://mysite.com/webservice.asmx ?schema=DataSet 1"

I am stuck here for a long time now...Pls help!!!


Mar 10 '06 #2
Scott the answers to your questions are as below:
Did you create the wsdl yourself, or did vs.net create it?
-VS.Net created the wsdl for me.

Were you able to test the web service project directly and call the
webmethods and have them work?
-Yes, I have already tested my webmethods and they work fine

"Scott M." wrote:
Did you create the wsdl yourself, or did vs.net create it? Were you able to
test the web service project directly and call the webmethods and have them
work?
"manika02" <ma******@discu ssions.microsof t.com> wrote in message
news:DB******** *************** ***********@mic rosoft.com...
I am unable to add web reference in Visual Studio 2003. I get the following
error:

"Unable to download following files from
http://mysite.com/webservice.asmx?wsdl
Do you want to skip these files and continue?"

Also when i type the URL http://mysite.com/webservice.asmx?wsdl andt hen
click Go in the Add Web Reference dialog box, I get the following error.
"The document was understood, but it could not be processed.
The WSDL document contains links that could not be resolved.
- There was an error downloading
'http://mysite.com/webservice.asmx ?schema=DataSet 1"

I am stuck here for a long time now...Pls help!!!



Mar 10 '06 #3
Greetings Manika,

If you load the WSDL document in IE, at the bottom of the WSDL file,
does the location attribute of the soap:address element for the web
service match the URL entered into IE? Specifically, are there any
extra tokens appended to the server name?

The following are the elements I'm referring to:

<wsdl:service name="MyService ">
<documentatio n/>
<wsdl:port name="MyService Soap" binding="tns:My ServiceSoap">
<soap:address
location="http://localhost//MyWebServices/MyService.asmx"/>
</wsdl:port>
</wsdl:service>

I have seen this error occur when the web server hosting the web
services is accessed through ISA server, and the administrators have
chosen to use host headers (with a slightly different server name) to
resolve the HTTP requests to the physical web server.

As a workaround, you should still be able to use the command line
wsdl.exe tool to create/update the web reference, as follows:

http://msdn.microsoft.com/library/de...oolWsdlexe.asp

HTH.

Cheers,
Matt

Mar 19 '06 #4

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

Similar topics

2
13125
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 Unixware/C++/AT&T componets environment. I have been able to compile all modules after making necessary changes in LINUX/gcc/STL environment. We have two templates defined XList and XMap.
110
9963
by: Mr A | last post by:
Hi! I've been thinking about passing parameteras using references instead of pointers in order to emphasize that the parameter must be an object. Exemple: void func(Objec& object); //object must be an object instead of
11
2203
by: Doug | last post by:
Is there any harm in passing an object into a method with the 'ref' keyword if the object is already a reference variable? If not, is there any benefit?
13
17934
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 create another Area and assign myArea to it (ie: Area foo = myArea;) or is there a better way? ~AF
4
3409
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 42. They say that 42 is printed the second time since the value was wrapped in a class and therefore became passed by reference. (sorry for any typos I am a newbie here ;-)
13
2683
by: al.cpwn | last post by:
I get that these two are different int* get() { static int m; return &m; } int& get() {
51
4475
by: Kuku | last post by:
What is the difference between a reference and a pointer?
27
4234
by: David W | last post by:
I'm almost tearing my hair out. A colleague claimed that a null reference can exist, like this: void f( int& p ) { printf( "%d\n", p ); } int main (int argc, char *argv) {
41
3687
by: Summercool | last post by:
Can we confirm the following? also someone said, Java also has "reference" like in C++, which is an "implicit pointer": Pointer and Reference --------------------- I am starting to see what pointer and reference are and how they relate to each other.
275
12404
by: Astley Le Jasper | last post by:
Sorry for the numpty question ... How do you find the reference name of an object? So if i have this bob = modulename.objectname() how do i find that the name is 'bob'
0
9480
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10329
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10152
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9950
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8974
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5381
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4053
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3650
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2880
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.