简体   繁体   English

ASP.NET消耗Web服务并读取Soap消息

[英]ASP.NET Consuming Webservices and reading the Soap Message

I am having difficulties Understanding and consuming Webservices in asp.net . 我在理解和使用asp.net中的Web服务时遇到困难。 i've created some Webmethods to be exposed , and tested them using the (Namespace = " http://tempuri.org/ ") and then i created a simple client application , that calls one of the functions through passing it as the "action" parameter in the form tag , something like : 我已经创建了一些要公开的Web方法,并使用(Namespace =“ http://tempuri.org/ ”)对它们进行了测试,然后创建了一个简单的客户端应用程序,该客户端应用程序通过将其作为“动作”参数,例如:

<form id="form1"  action='http://localhost:3880/SoapService/Service.asmx/HelloWorld'
method="post">

What i can't figured out: 我不知道的是:

  • if possible a better Explination of Webservices and how they use and consume SOAP Messages 如果可能,更好地解释Web服务以及它们如何使用和使用SOAP消息
  • How to pass Parameters with the function call, when i put the function url in the action parameter , like above. 当我将函数url放在action参数中时,如何通过函数调用传递参数,如上。
  • How to consume the soap message itself. 如何消耗肥皂消息本身。 (is that possible?) (那可能吗?)

maybe this will help to reads incoming request parameters for Web services 也许这将有助于读取Web服务的传入请求参数

UrlParameterReader UrlParameterReader

  • and i think the following will answer ur third question Click here 我认为以下内容将回答您的第三个问题点击此处

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM