我正在尝试将身份验证标头发送到WSDL没有在其上指定身份验证要求的服务WSDL.
如何将Auth标头添加到Web服务的调用中?
我一直在使用的代码:
using System;
using System.Web.Services.Protocols;
namespace TesteSoap
{
class MainClass
{
public static void Main (string[] args)
{
WSDLService Service = new WSDLService();
/* How can I add authentication to the call of this webservice ? */
Service.get();
Console.WriteLine ("Hello World!");
}
}
}
Run Code Online (Sandbox Code Playgroud) 我不明白这个结果如何为零.这个呈现给我的例子是验证消息的校验和.
ED(12+01+ED=0)
Run Code Online (Sandbox Code Playgroud)
这个结果怎么可能为零?
"1201是消息"ED是校验和,我的问题更多,我如何确定校验和?
感谢您的任何帮助.
最好的问候,FR