凡已在浏览器WCF测试形式哪里去了?去了、已在、浏览器、形式

2023-09-03 04:48:24 作者:巴黎圣母妓院

真的很喜欢刚刚发射了网络浏览器并输入一些值来测试ASMX Web服务的便利性,这是不再可能与WCF?

Really liked the convenience of just firing up the web browser and typing in some values to test an ASMX web service, is this no longer possible with WCF?

推荐答案

您不能有,很遗憾。

但你得到的 WCF测试客户端的,而不是!

But you do get the WCF Test Client instead!

这是从你的 C:\ Program Files文件\微软的Visual Studio 9.0 \ Common7 \ IDE \ 目录中,这是一个GUI工具连接到WCF服务并进行测试交互方式。非常方便。

It's available from your C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\ directory, and it's a GUI tool to attach to WCF services and test them interactively. Quite handy.

作为一个好处,WCF测试客户端,也应对复杂的类型,例如对象,要传递到服务调用 - 这是永远不可能的ASMX测试页

As a benefit, the WCF Test Client can also deal with "complex" types, e.g. objects, that you want to pass into service calls - that was never possible on the ASMX test pages.

否则,你就必须使用像 WCF风暴(.NET工具)或者了SoapUI (基于Java)为您的SOAP服务。

Otherwise, you'd have to use something like WCF Storm (.NET tool) or SoapUI (Java-based) for your SOAP services.

马克·