Yes, use the Begin and End versions of your method to process the call
asynchronously. Do a little research on "Asynchronous WebService" or
"Calling a webservice asynchronously" - something to that nature.
> Hi all,
> The problem is as follows:
[quoted text clipped - 13 lines]
> Thank you,
> Daniel
You sure can. All you got to do is create a web reference and use the proxy
to call the other web service
> Hi all,
> The problem is as follows:
[quoted text clipped - 10 lines]
> Thank you,
> Daniel
Bamse - 20 Sep 2004 10:24 GMT
I must've been not quite clear...
there's the scenario:
myWinFormApp
{
myWebservice WS1;
bool myWinFormApp.Auth(userID)
{
return ws1.auth(userid);
}
}
myWebService
{
myWebService ws2;
[Webmethod...]
public bool Auth(userid)
{
if (localServer is defined)
return local Auth(userid)
else
return ws2.Auth(userid) //in the web.config there is a custom
key: "remote server" (made at install)
// and the webservice on that "remote server" is called to authorize the
user if the local one is not defined
}
}
that's the issue: how can I call the webservice on a particular server
(refered to by IP/DNS name)
> You sure can. All you got to do is create a web reference and use the proxy
> to call the other web service
[quoted text clipped - 13 lines]
> > Thank you,
> > Daniel
Bamse - 20 Sep 2004 11:55 GMT
yeah, after some tinkering, I got it; but instead of addind a reference to
the ws itself I made a proxy using wsdl and add it to the project ( kind of
reference though...:)) )
thanks for opening my eyes
> You sure can. All you got to do is create a web reference and use the proxy
> to call the other web service
[quoted text clipped - 13 lines]
> > Thank you,
> > Daniel