开发者

How to programmatically retrieve all of a web service's web methods' signatures?

I'm trying开发者_StackOverflow社区 to build a c# application that displays and invokes all of a specific web service's methods (the web service is written as a .asmx file).

I can go directly to the asmx file and get the methods names from the returned html, but I'm sure there is more elegant way to do it (this way doesn't reveals the web methods' signatures as well, only their names..).

So how can I programmatically ask the service what are it's methods?

Thanks.


Get the WSDL of your web-service to discover all available methods on the web-service.

http://server/your-webservice.asmx?wsdl

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜