wsdl.exe /out:ProxyService.cs http://server/OtherWebService.asmx
And then, from the first webservice:
[WebMethod]
public string DoSomething(string)
{
ProxyService ps = new ProxyService();
string value = ps.SomeOtherMethod();
return "From other one: " + value;
}
etc

Signature
Happy Hacking,
Gaurav Vaish | http://www.mastergaurav.com
http://www.edujini.in | http://articles.edujini.in/webservices
-------------------
> Dnia Tue, 22 Aug 2006 22:14:57 +0530, Gaurav Vaish (www.EduJini.IN)
> napisa³(a):
[quoted text clipped - 3 lines]
>
> Any samples? I'll be greateful.
doc. Zenobiusz Furman - 05 Sep 2006 16:15 GMT
Dnia Sun, 3 Sep 2006 22:46:32 +0530, Gaurav Vaish (www.EduJini.IN)
napisał(a):
> wsdl.exe /out:ProxyService.cs http://server/OtherWebService.asmx
>
[quoted text clipped - 7 lines]
> return "From other one: " + value;
> }
Is there a way to make webservice a variable in my application? I'll be
grateful for code sample.

Signature
_/_/_/_/_/
_/ zenobiusz (kropka) furman (małpa) vp (kropka) pl
_/_/_/
_/ http://zenobiusz-furman.webpark.pl
Gaurav Vaish (www.EduJini.IN) - 06 Sep 2006 20:36 GMT
> Is there a way to make webservice a variable in my application? I'll be
> grateful for code sample.
What do you mean by that?
Do you mean that the proxy-class should be created and compiled on the fly?
I'd suggest you to have a look at NAnt build-tool rather than Ctrl+Shift+B
option in VS. :-)

Signature
Happy Hacking,
Gaurav Vaish | http://www.mastergaurav.com
http://articles.edujinionline.com/webservices
-------------------