Generate SOAP requests on the fly, based on WSDL

旧街凉风 提交于 2020-01-13 06:43:13

问题


I'd like to build a simple test harness for the various web services consumed by my application that I can run in my staging or production environment to verify that the web services are working and see what data their web methods are returning.

Is there a way I can generate a SOAP request based on the WSDL provided by a web service at run time (i.e. without adding a web reference to my project and creating a proxy for the web service)?


回答1:


Check out SoapUI (http://www.soapui.org/). It's the only tool I've ever needed for testing Web Services.




回答2:


You can try using Castle Dynamic Proxy.



来源:https://stackoverflow.com/questions/1869960/generate-soap-requests-on-the-fly-based-on-wsdl

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!