在ASMX中测试自定义SOAP标头 [英] Testing custom SOAP Headers in ASMX

查看:90
本文介绍了在ASMX中测试自定义SOAP标头的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

ASMX生成的测试表单非常方便进行测试操作.但是,没有明显的方法可以包含SOAP标头.

The test form generated by ASMX is pretty handy for testing operations. However, there is no apparent way to include SOAP headers.

如何在不编程客户端使用服务的情况下测试标题?

How can you test your headers without programming a client to use the service?

推荐答案

如果您关心互操作,请不要使用.net客户端应用程序来测试.net Web服务.使用适当的工具(例如SOAPUI)来测试您的Web服务. www.soapui.org

If you care about interop, don't use .net client apps to test .net web services. Use a proper tool like SOAPUI to test your web service. www.soapui.org

该工具是用Java编写的,但是它是免费的,可以方便地测试任何类型的Web服务.

The tool is written in Java, but it is free and darn handy for testing any kind of web service.

这篇关于在ASMX中测试自定义SOAP标头的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆