473,386 Members | 1,798 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.

Problems using "Add Web Reference"

Hi There

I am having some difficulty referencing Web Services. I am using Visual Studio .NET 2003, with the .NET Framework 1.1, and trying to write a VB.NET Windows Application that consumes an external Web Service

When I endeavour to use the "Add Web Reference" and select a URL which I know returns a WSDL file, I get prompted with the "Open, Save, Cancel or More Info" dialog box that I am familiar with in IE. If I select Open, it opens it as a file within VS.NET. Saving, saves it locally, but none of them display the file in the Web Reference display page, and hence allow me to set a reference

Any help with this puzzling problem would be most appreciated

Regards
Trevor Andrew
Nov 20 '05 #1
5 2184
Are you making the reference to the actual wsdl or just the doc that has the
wsdl?
"Trevor Andrew" <an*******@discussions.microsoft.com> wrote in message
news:F0**********************************@microsof t.com...
Hi There,

I am having some difficulty referencing Web Services. I am using Visual Studio .NET 2003, with the .NET Framework 1.1, and trying to write a VB.NET
Windows Application that consumes an external Web Service.
When I endeavour to use the "Add Web Reference" and select a URL which I know returns a WSDL file, I get prompted with the "Open, Save, Cancel or
More Info" dialog box that I am familiar with in IE. If I select Open, it
opens it as a file within VS.NET. Saving, saves it locally, but none of them
display the file in the Web Reference display page, and hence allow me to
set a reference.
Any help with this puzzling problem would be most appreciated.

Regards,
Trevor Andrew

Nov 20 '05 #2
Hi Scott

As an example, I'm typing in the following URL

http://ws.microsoft.com/mscomservice/mscom.asmx?wsd

Which is shown as an example URL to retrieve a wsdl definition from some sample web services at Microsoft. If I save the document, it appears to be a WSDL document. Am I doing something wrong here

Regards
Trevor Andre

----- Scott M. wrote: ----

Are you making the reference to the actual wsdl or just the doc that has th
wsdl
"Trevor Andrew" <an*******@discussions.microsoft.com> wrote in messag
news:F0**********************************@microsof t.com..
Hi There
I am having some difficulty referencing Web Services. I am using Visua Studio .NET 2003, with the .NET Framework 1.1, and trying to write a VB.NE
Windows Application that consumes an external Web Service When I endeavour to use the "Add Web Reference" and select a URL which know returns a WSDL file, I get prompted with the "Open, Save, Cancel o
More Info" dialog box that I am familiar with in IE. If I select Open, i
opens it as a file within VS.NET. Saving, saves it locally, but none of the
display the file in the Web Reference display page, and hence allow me t
set a reference Any help with this puzzling problem would be most appreciated
Regards

Trevor Andre


Nov 20 '05 #3
You are using the correct format. Are you sure you have a web server
running on the machine you are developing on?
"Trevor Andrew" <an*******@discussions.microsoft.com> wrote in message
news:F3**********************************@microsof t.com...
Hi Scott,

As an example, I'm typing in the following URL:

http://ws.microsoft.com/mscomservice/mscom.asmx?wsdl

Which is shown as an example URL to retrieve a wsdl definition from some sample web services at Microsoft. If I save the document, it appears to be a
WSDL document. Am I doing something wrong here?
Regards,
Trevor Andrew

----- Scott M. wrote: -----

Are you making the reference to the actual wsdl or just the doc that has the wsdl?
"Trevor Andrew" <an*******@discussions.microsoft.com> wrote in message news:F0**********************************@microsof t.com...
> Hi There,
>> I am having some difficulty referencing Web Services. I am using
Visual
Studio .NET 2003, with the .NET Framework 1.1, and trying to write a VB.NET Windows Application that consumes an external Web Service. >> When I endeavour to use the "Add Web Reference" and select a URL
which I
know returns a WSDL file, I get prompted with the "Open, Save, Cancel or More Info" dialog box that I am familiar with in IE. If I select Open, it opens it as a file within VS.NET. Saving, saves it locally, but none of them display the file in the Web Reference display page, and hence allow me to set a reference. >> Any help with this puzzling problem would be most appreciated.
>> Regards,

> Trevor Andrew


Nov 20 '05 #4
Hi Scott,

Yes, I am running a web server on the machine I am developing on, but I'm not quite sure I understand why that is relevant to what I'm doing? At the moment, I'm trying to address a remote web service at Microsoft, as per the quoted URL below.

My development environment is XP PRO, VS.NET 2003, .NET Framework 1.1. IIS is running on the box, and I have previously successfully run some local web service examples successfully.

Could it be something to do with my proxy server? I have an ISA Server between this workstation and the Internet.

I've seen suggestions to use the WSDL.exe utility to create a proxy or stub, but don't appear to have it installed on my machine. I assume that it's part of the .NET Framework SDK. Would you suggest using this to try and get it to work?

Regards,
Trevor Andrew

----- Scott M. wrote: -----

You are using the correct format. Are you sure you have a web server
running on the machine you are developing on?
"Trevor Andrew" <an*******@discussions.microsoft.com> wrote in message
news:F3**********************************@microsof t.com...
Hi Scott,
As an example, I'm typing in the following URL:
http://ws.microsoft.com/mscomservice/mscom.asmx?wsdl
Which is shown as an example URL to retrieve a wsdl definition from some sample web services at Microsoft. If I save the document, it appears to be a
WSDL document. Am I doing something wrong here?
Regards, Trevor Andrew
----- Scott M. wrote: -----
Are you making the reference to the actual wsdl or just the doc that

has the wsdl? "Trevor Andrew" <an*******@discussions.microsoft.com> wrote in
message
news:F0**********************************@microsof t.com...
Hi There,
I am having some difficulty referencing Web Services. I am using
Visual Studio .NET 2003, with the .NET Framework 1.1, and trying to write a VB.NET Windows Application that consumes an external Web Service. When I endeavour to use the "Add Web Reference" and select a URL
which I
know returns a WSDL file, I get prompted with the "Open, Save, Cancel or More Info" dialog box that I am familiar with in IE. If I select Open, it opens it as a file within VS.NET. Saving, saves it locally, but none of them display the file in the Web Reference display page, and hence allow me to set a reference. Any help with this puzzling problem would be most appreciated.
Regards,

Trevor Andrew

Nov 20 '05 #5
I have made a test Windows Form application and successfully made a
reference to that sample wsdl document you posted earlier. I am running XP
Pro, VS 2002 however. Could this be a VS 2003 bug?
"Trevor Andrew" <an*******@discussions.microsoft.com> wrote in message
news:A5**********************************@microsof t.com...
Hi Scott,

Yes, I am running a web server on the machine I am developing on, but I'm not quite sure I understand why that is relevant to what I'm doing? At the
moment, I'm trying to address a remote web service at Microsoft, as per the
quoted URL below.
My development environment is XP PRO, VS.NET 2003, .NET Framework 1.1. IIS is running on the box, and I have previously successfully run some local web
service examples successfully.
Could it be something to do with my proxy server? I have an ISA Server between this workstation and the Internet.
I've seen suggestions to use the WSDL.exe utility to create a proxy or stub, but don't appear to have it installed on my machine. I assume that
it's part of the .NET Framework SDK. Would you suggest using this to try and
get it to work?
Regards,
Trevor Andrew

----- Scott M. wrote: -----

You are using the correct format. Are you sure you have a web server
running on the machine you are developing on?
"Trevor Andrew" <an*******@discussions.microsoft.com> wrote in message news:F3**********************************@microsof t.com...
> Hi Scott,
>> As an example, I'm typing in the following URL:
>> http://ws.microsoft.com/mscomservice/mscom.asmx?wsdl
>> Which is shown as an example URL to retrieve a wsdl definition
from some
sample web services at Microsoft. If I save the document, it appears to be a WSDL document. Am I doing something wrong here? >> Regards, > Trevor Andrew
>> ----- Scott M. wrote: -----
>> Are you making the reference to the actual wsdl or just the

doc that has the
> wsdl?
>>> "Trevor Andrew" <an*******@discussions.microsoft.com> wrote
in message
> news:F0**********************************@microsof t.com...
>> Hi There,
>>> I am having some difficulty referencing Web Services. I am using
Visual
> Studio .NET 2003, with the .NET Framework 1.1, and trying to

write a VB.NET
> Windows Application that consumes an external Web Service.
>>> When I endeavour to use the "Add Web Reference" and select a URL
which I
> know returns a WSDL file, I get prompted with the "Open, Save,

Cancel or
> More Info" dialog box that I am familiar with in IE. If I
select Open, it
> opens it as a file within VS.NET. Saving, saves it locally,
but none of them
> display the file in the Web Reference display page, and hence
allow me to
> set a reference.
>>> Any help with this puzzling problem would be most appreciated.
>>> Regards,
>> Trevor Andrew
>>>

Nov 20 '05 #6

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

Similar topics

3
by: Gary McGill | last post by:
I have a C# solution with a dozen or so projects. There are references between the projects, and these were all added as "Project" references. Everything's been working fine for months, but...
10
by: msnews.microsoft.com | last post by:
Hi, How do I add a reference in VC++.NET? In VB.NET and VC#.NET, there's an option in "Project" menu called "Add Reference". This will add a .NET DLL reference to the current project. After I...
3
by: Samuel R. Neff | last post by:
I just started having a problem with the Add Reference dialog not displaying in VS.NET 2003. Whenever I click Add Reference the dialog doesn't display. I've tried several different projects and...
1
by: SrDhUS | last post by:
I get the following error when I try to add a web reference using Web Reference Dialog (VS .Net 2003) Error "The proxy settings on this computer are not configured correctly for web discovery."...
5
by: Matthew.DelVecchio | last post by:
hello, i am working w/ a partner company's webservice, which they wrote in java. using a provided webservice.wsdl file, i am able to compile it into a proxy class, webservice.dll. i can add...
5
by: Mike Logan | last post by:
I used WSDL.exe to generate a client side web proxy for a web service, called the web service, got the results but an array returned by the web service is not in the results. However if I use...
3
by: Richard Lewis Haggard | last post by:
We are having a lot of trouble with problems relating to failures relating to 'The located assembly's manifest definition with name 'xxx' does not match the assembly reference" but none of us here...
2
by: Ottavio | last post by:
Hello, I'm having some problems with the authentication during a web service call I know I have to add the "Authorization: Basic xxxxxxxx" in the http header (not soap header) but I can't find a...
1
by: abtandon | last post by:
Hi, I am using VS 2008 Team Suite for my ATL application, at one point I needed to "Add web reference", but I found it disbaled. I used the same application in VS 2005, but that was not the case...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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
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
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,...

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.