小编Fer*_*dré的帖子

如何在SOAP中添加Basic Auth Header?

我正在尝试将身份验证标头发送到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)

c# soap basic-authentication soapheader

6
推荐指数
1
解决办法
2万
查看次数

校验和的十六进制计算

我不明白这个结果如何为零.这个呈现给我的例子是验证消息的校验和.

ED(12+01+ED=0)
Run Code Online (Sandbox Code Playgroud)

这个结果怎么可能为零?

"1201是消息"ED是校验和,我的问题更多,我如何确定校验和?

感谢您的任何帮助.

最好的问候,FR

math hex

1
推荐指数
1
解决办法
2万
查看次数

标签 统计

basic-authentication ×1

c# ×1

hex ×1

math ×1

soap ×1

soapheader ×1