By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,219 Members | 2,147 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,219 IT Pros & Developers. It's quick & easy.

Adding a Web Reference into a Windows Project

P: n/a
I have a windows based VBNet project and someone has written a small SOAP
program that is called FileUpload.asmx. I want to add a reference to this in
my project, but when I add a reference the default extensions I am allowed
to add do not include .asmx. So I thought of adding a web reference, but it
says that there are no web services on my machine to add. I started up IIS
in case that was the problem, but I still get the same result. I even copied
all the FileUpload components into the wwwRoot folder but still no joy.

How do I do it?

-Jerry
Oct 28 '06 #1
Share this Question
Share on Google+
3 Replies


P: n/a
To add a web reference:

Menu Project - Add Web Reference
Next, type in the url for the webservice (must be running!) like
http://server/FileUpload.asmx
Press Ok.

To test if your url is correct, type it in the internet explorer. You
should get a page explaining the service. If not, your url is incorrect,
or the webservice is not running.
Jerry Spence1 wrote:
I have a windows based VBNet project and someone has written a small SOAP
program that is called FileUpload.asmx. I want to add a reference to this in
my project, but when I add a reference the default extensions I am allowed
to add do not include .asmx. So I thought of adding a web reference, but it
says that there are no web services on my machine to add. I started up IIS
in case that was the problem, but I still get the same result. I even copied
all the FileUpload components into the wwwRoot folder but still no joy.

How do I do it?

-Jerry

Oct 29 '06 #2

P: n/a
Thanks Theo - what do you mean by the "web service". I have IIS running and
I have put all the files into the wwwroot folder. Should this be sufficient?

-Jerry

"Theo Verweij" <tv******@xs4all.nlwrote in message
news:u1****************@TK2MSFTNGP02.phx.gbl...
To add a web reference:

Menu Project - Add Web Reference
Next, type in the url for the webservice (must be running!) like
http://server/FileUpload.asmx
Press Ok.

To test if your url is correct, type it in the internet explorer. You
should get a page explaining the service. If not, your url is incorrect,
or the webservice is not running.
Jerry Spence1 wrote:
>I have a windows based VBNet project and someone has written a small SOAP
program that is called FileUpload.asmx. I want to add a reference to this
in my project, but when I add a reference the default extensions I am
allowed to add do not include .asmx. So I thought of adding a web
reference, but it says that there are no web services on my machine to
add. I started up IIS in case that was the problem, but I still get the
same result. I even copied all the FileUpload components into the wwwRoot
folder but still no joy.

How do I do it?

-Jerry

Oct 29 '06 #3

P: n/a
The asmx is the webservice.

If putting the files into the www root is sussicient, you can tell by
browsing this file with the internet explorer. (http://<machine where
your iis is running/FileUpload.asmx

You should get a webpage explaining the webservice (asmx).

If not, your webservice is not configured correctly - see microsoft
documentation.

Jerry Spence1 wrote:
Thanks Theo - what do you mean by the "web service". I have IIS running and
I have put all the files into the wwwroot folder. Should this be sufficient?

-Jerry

"Theo Verweij" <tv******@xs4all.nlwrote in message
news:u1****************@TK2MSFTNGP02.phx.gbl...
>To add a web reference:

Menu Project - Add Web Reference
Next, type in the url for the webservice (must be running!) like
http://server/FileUpload.asmx
Press Ok.

To test if your url is correct, type it in the internet explorer. You
should get a page explaining the service. If not, your url is incorrect,
or the webservice is not running.
Jerry Spence1 wrote:
>>I have a windows based VBNet project and someone has written a small SOAP
program that is called FileUpload.asmx. I want to add a reference to this
in my project, but when I add a reference the default extensions I am
allowed to add do not include .asmx. So I thought of adding a web
reference, but it says that there are no web services on my machine to
add. I started up IIS in case that was the problem, but I still get the
same result. I even copied all the FileUpload components into the wwwRoot
folder but still no joy.

How do I do it?

-Jerry

Oct 29 '06 #4

This discussion thread is closed

Replies have been disabled for this discussion.