How to get the webservice execution path inside the webservice code ?

  • Thread starter Thread starter Gilbert Tordeur
  • Start date Start date
G

Gilbert Tordeur

Hello.

Context = VB 2008.

In a Web application, I just write Request.PhysicalPath. But in a webservice
program, the Request
object does not exist. How can I do ?

Thank you in advance,
Gilbert
 
Gilbert said:
Context = VB 2008.

In a Web application, I just write Request.PhysicalPath. But in a
webservice program, the Request object does not exist. How can I do ?

HttpRuntime.AppDomainAppVirtualPath or maybe HttpRuntime.AppDomainAppPath is
what you appear to be looking for.

Andrew
 
Back
Top