我想在C#应用程序中使用端点的SOAP返回参数。 [英] I want to use SOAP return parameter from endpoint in C# application.

查看:116
本文介绍了我想在C#应用程序中使用端点的SOAP返回参数。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在C#应用程序中使用端点的SOAP返回参数。我可以使用以下步骤从Firefox浏览器中找到所有参数: -



1.打开网站例如。 www.xyz.com。

2.在浏览器上选择RC并选择Inspect Element(Q)(Firefox浏览器)。

3.有很多方法(GET / POST)在Inspect Element的Network部分。

4.选择一个POST方法,然后我在Inspect Element的Param部分返回SOAP内容类型XML。





现在,我想在我的c#代码中获取SOAP XML。请建议任何解决方案。

I want to use SOAP return parameters from endpoint in C# application. I am able to find all parameters from Firefox browser using steps given below:-

1. Open website eg. "www.xyz.com".
2. RC on browser and select Inspect Element(Q) (Firefox browser).
3. There are lots of method(GET/POST) in "Network" section of Inspect Element.
4. Select a POST method, then i got return SOAP content type XML in "Param" section of Inspect Element.


Now, I want to get that SOAP XML in my c# code. Please suggest any solution.

推荐答案

如果我从问题中得到了这个,你需要

www.xyz.com/thewebservice.asmx?wsdl

所以请在上面的网址中获取xml
If i got this right from the question, you need the content of
www.xyz.com/thewebservice.asmx?wsdl
So do a get in the above url to get the xml


这篇关于我想在C#应用程序中使用端点的SOAP返回参数。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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