
Signature
-- Thom Little -- www.tlanet.net -- Thom Little Associates, Ltd.
--
Hello Thom,
You can open other ASP.NET project in VS .NET IDE, Click Project/Add Web
Reference, and enter the url for your web service. VS. NET will add a web
reference to the project and genrate a proxy class. Also the url can be
dynamic and you can specify other url in code like:
service.Url="http://myserver/myapp/CountService.,asmx"
Hope this help,
Luke
First of all, I would separate them into two different projects -- since
they are logically separate. This will also help you deploy the web service
by itself. To deploy, you could compile the web service project, and do an
xcopy (minus the .cs files).

Signature
Manohar Kamath
Editor, .netWire
www.dotnetwire.com
> I wrote a webservice that will be called from websites hosted on seven
> different servers.
[quoted text clipped - 6 lines]
> application not compiled with it and perhaps running on servers remote from
> it?
Thom Little - 25 Mar 2005 09:08 GMT
Thank you both. I am, once again, thrashing.
I created separate projects for the service and the consumer.
In the consumer I added a web reference for the service.
The consumer simply has ...
string strRequest = "http://www.tlatla.net/index.asp" ;
CountServices csWork = new localhost.CountServices( );
lblResult.Text = strRequest + " <> " + csWork.Count( strRequest ) ;
Passing a string and returning a string.
I get a not found error on the Count.Services statement and am too ill
educated to correct it. Can you point me (again) in the right direction.
Perhaps you can recommend an article that documents simple sting consumption
in C#?

Signature
-- Thom Little -- www.tlanet.net -- Thom Little Associates, Ltd.
--
> First of all, I would separate them into two different projects -- since
> they are logically separate. This will also help you deploy the web
> service
> by itself. To deploy, you could compile the web service project, and do an
> xcopy (minus the .cs files).
[MSFT] - 28 Mar 2005 03:42 GMT
Hi Thom,
Here is a sample about how to create a simple web service:
http://support.microsoft.com/default.aspx?scid=KB;EN-US;Q308359
You may first try it and then modify your test project according that.
Luke