pei_world,
If the web service is exposing something that is host-specific, then I
would take the code that is running behind the web service and run it as a
remoted object on the local machine. However, if there is nothing that is
host-specific, then I would just take the functionality out and place it in
another assembly/class. Once you have that, you can just create a new
instance of the class and call the methods directly.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard.caspershouse.com
"pei_world" <pe*******@hotmail.com> wrote in message
news:uP**************@TK2MSFTNGP11.phx.gbl...
by default, A web service sit in (Host A). if other application that
sit in (Host B) want to use that web Service, then need to add web reference
to it using HTTP TCP/IP protocol.
but how about the case, both web service and application site in same
host but serve for different client applications, what is the best way to
do it?
thanks