怎样获取WebService的运行路径?

GiantHard 2003-07-24 12:20:54
怎样获取WebService的运行路径?
...全文
682 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
saucer 2003-07-24
  • 打赏
  • 举报
回复
if you mean to get the path inside your webservice, you could do

System.Web.HttpContext.Current.Request.ApplicationPath

System.Web.HttpContext.Current.Request.PhysicalPath

otherwise, look for the endpoint in the relevant documentation for your webservice or its wsdl or its UDDI entry
xhan2000 2003-07-24
  • 打赏
  • 举报
回复
Server.MapMath()
aspnetwuxueyou 2003-07-24
  • 打赏
  • 举报
回复
what do you mean?
GiantHard 2003-07-24
  • 打赏
  • 举报
回复
谢谢大家!

110,534

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术 C#
社区管理员
  • C#
  • Web++
  • by_封爱
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

让您成为最强悍的C#开发者

试试用AI创作助手写篇文章吧