Home All Groups Group Topic Archive Search About

Adding a Web Reference into a Windows Project

Author
28 Oct 2006 12:21 PM
Jerry Spence1
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

Author
29 Oct 2006 8:53 AM
Theo Verweij
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:
Show quoteHide quote
> 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
>
>
Author
29 Oct 2006 4:14 PM
Jerry Spence1
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

Show quoteHide quote
"Theo Verweij" <tverw***@xs4all.nl> wrote in message
news:u1oLAfz%23GHA.4388@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
Author
29 Oct 2006 4:36 PM
Theo Verweij
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:
Show quoteHide quote
> 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" <tverw***@xs4all.nl> wrote in message
> news:u1oLAfz%23GHA.4388@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
>
>