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

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
 
A

Andrew Morton

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top