构建安全的Xml Web Service系列之wse之错误代码详解
原文:构建安全的Xml Web Service系列之wse之错误代码详解
WSE3.0现在还没有中文版的可以下载,使用英文版的过程中,难免会遇到各种各样的错误,而面对一堆毫无头绪的错误异常,常常会感到迷茫和无助,我起初就觉得这个框架使用起来真的很难用,有时候一些莫名其妙的错误会困扰我半天或者几天的时间,而一些英文的解释理解起来似是而非,很难一针见血的获得哪里出了问题,我将用几篇文章将wse所涉及到的错误代码和错误消息翻译成中文,并且根据个人的一点经验,提出引发错误的原因,并总结出解决建议,不是很准确,只是我所遇到的情况的一个总结而已,也可能有错误,大家辩证的看这个。
下面先列出这么多,好多n多,篇幅太长,分几次录入。以后会做成一个文档,供大家使用
| 异常名称 | 错误消息 | 消息注释 | 引发原因 | 解决建议 |
| BodyEncryptionCheckFailed | Protection requirements not satisfied: body of the message is not encrypted, or is encrypted with a token of an unexpected type | 未能满足保护要求:消息的主体没有加密或者被一个未知类型的令牌加密 | 客户端证书于服务端证书不匹配,或者客户端未设置证书,而服务端要求证书验证 | |
| Cryptography_Xml_CreatedKeyFailed | Failed to create the signing key. | 无法创建签名密钥 | 提供的证书没有签名的功能 | 更换证书类型,创建可以用于签名的证书 |
| Cryptography_Xml_CreateHashAlgorithmFailed | Could not create the hash algorithm object. | 无法创建DigestMethod指定的hash算法对象 | 指定的DigestMethod算法不受指定证书支持 | 更换证书 |
| Cryptography_Xml_CreateTransformFailed | Could not create the XML transformation identified by the URI {0}. | 未能创建标志特定URI的转换器 | ||
| Cryptography_Xml_DigestMethodRequired | A DigestMethod must be specified on a Reference before generating XML. | 生成XML之前必须在一个引用上指定DigestMethod | ||
| Cryptography_Xml_DigestValueRequired | A Reference must contain a DigestValue. | 引用上必须包含DigestValue | ||
| Cryptography_Xml_EnvelopedSignatureRequiresContext | An XmlDocument context is required for enveloped transforms. | 一个XML文档需要信封转换器 | ||
| Cryptography_Xml_InvalidElement | Malformed element {0}. | 错误节点:{0} | ||
| Cryptography_Xml_InvalidReference | Malformed reference element. | 错误的引用节点:{0} | ||
| Cryptography_Xml_InvalidSignatureLength | The length of the signature with a MAC should be less than the hash output length. | 带MAC的签名长度应该比输出的hash值长度短 | ||
| Cryptography_Xml_InvalidSignatureLength2 | The length in bits of the signature with a MAC should be a multiple of 8. | 带MAC的加密比特长度应该是8的倍数 | ||
| Cryptography_Xml_InvalidSignatureTag | The signature element is not valid. | 签名节点非法 | ||
| Cryptography_Xml_KeyInfoRequired | A KeyInfo element is required to check the signature. | 一个KeyInfo节点要求检查签名 | ||
| Cryptography_Xml_LoadKeyFailed | A signing key is not loaded. | 签名密钥未被加载 | ||
| Cryptography_Xml_ReferenceElementRequired | At least one Reference element is required. | 至少应该有一个引用节点 | ||
| Cryptography_Xml_SelfReferenceRequiresContext | An XmlDocument context is required to resolve the Reference URI {0}. | 一个XML文档需要处理引用URI:{0} | ||
| Cryptography_Xml_SignatureDescriptionNotCreated | SignatureDescription could not be created for the signature algorithm supplied. | 签名描述不能用于创建提供的签名算法 | ||
| Cryptography_Xml_SignatureMethodKeyMismatch | The key does not fit the SignatureMethod. | 密钥与签名方法不匹配 |
构建安全的Xml Web Service系列之wse之错误代码详解的更多相关文章
- 构建安全的Xml Web Service系列之wse之证书存储位置
原文:构建安全的Xml Web Service系列之wse之证书存储位置 我们在前几天对xml web service的安全性提出了一些建议,大家可以通过以下地址访问: 构建安全的Xml Web Se ...
- 构建安全的Xml Web Service系列之SSL篇
原文:构建安全的Xml Web Service系列之SSL篇 首先介绍一下SSL, SSL 的英文全称是 "Secure Sockets Layer" ,中文名为 "安全 ...
- 构建安全的Xml Web Service系列之初探使用Soap头
原文:构建安全的Xml Web Service系列之初探使用Soap头 Xml Web Service 从诞生那天就说自己都么都么好,还津津乐道的说internet也会因此而进入一个新纪元,可5年多来 ...
- 构建安全的Xml Web Service系列之如何察看SoapMessage
原文:构建安全的Xml Web Service系列之如何察看SoapMessage 上一篇文章地址:构建安全的Xml Web Service系列一之初探使用Soap头 (5-22 12:53) ...
- Web Service学习之八:Soap消息详解
一.区别概念 WSDL是网络服务描述语言,是XML文档:它包含一系列描述某个web service的定义或者说是规则.尤其是定义了传输Sope消息的结构 Soap:简单对象访问协议,是交换数据的一种协 ...
- C# 开发XML Web Service与Java开发WebService
一.web service基本概念 Web Service也叫XML Web Service WebService是一种可以接收从Internet或者Intranet上的其它系统中传递过来的请求,轻量 ...
- 深入浅出Mybatis系列(四)---配置详解之typeAliases别名(mybatis源码篇)
上篇文章<深入浅出Mybatis系列(三)---配置详解之properties与environments(mybatis源码篇)> 介绍了properties与environments, ...
- ASP.NET Core Web服务器 Kestrel和Http.sys 特性详解
ASP.NET Core Web服务器 Kestrel和Http.sys 特性详解 1.1. 名词解释 1.2. Kestrel基本工作原理 1.2.1. Kestrel的基本架构 1.2.2. Ke ...
- [转帖]ASP.NET Core Web服务器 Kestrel和Http.sys 特性详解
ASP.NET Core Web服务器 Kestrel和Http.sys 特性详解 https://www.cnblogs.com/vipyoumay/p/7525478.html ASP.NET C ...
随机推荐
- 【POJ 1741】Tree
Tree Time Limit: 1000MS Memory Limit: 30000K Total Submissions: 11570 Accepted: 3626 Description ...
- jQuery Mobile 是创建移动 web 应用程序的框架。
jQuery Mobile jQuery Mobile 是创建移动 web 应用程序的框架. jQuery Mobile 适用于所有流行的智能手机和平板电脑. jQuery Mobile 使用 HTM ...
- CSDN 四川大学线下编程比赛第二题:Peter的X
题目详情: http://student.csdn.net/mcs/programming_challenges Peter是个小男孩.他总是背不清26个英文字母. 于是,刁钻的英语老师给他布置了一个 ...
- 【译】ASP.NET MVC 5 教程 - 4:添加模型
原文:[译]ASP.NET MVC 5 教程 - 4:添加模型 在本节中,我们将添加一些管理电影数据库的类,这些类在ASP.NET MVC 应用程序中扮演“Model”的角色. 我们将使用.NET F ...
- If you pay peanuts,you get monkeys
英文原文:Before you send an email to contact a web developer, please read this… 做为一名开发者,我收到很多关于开发新 web 应 ...
- hdu4857 逃生 bestcoder round1 A
题目要求要求在满足约束条件的情况下,使小的序号尽力靠前. 坑点就在这里.小的序号尽量靠前并非代表字典序,它要求多种情况时,先使1靠前(可能1仅仅能在第2或第3位 那么就要使它在第2位),其次2,3. ...
- 正則表達式 取出img标签 保存于指定路径
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.We ...
- Android 关于资源适配
一. 关于图片资源 图片宽高 不要固定大小,在小屏幕和大屏幕,不同分频率上 ,採用不同的图片,这个要美工切图的. 不同的分辨率,界面的长宽比不一致,须要不同规格的图片 在drawable-hdpi,d ...
- SoccerLeagueDB
create table if not exists League ( lid int primary key auto_increment, lyear int not null, s ...
- java.lang.OutOfMemoryError: Java heap space错误和方法(集、转)
错误的方式来解决溢出下面的堆空间是从网上找: java.lang.OutOfMemoryError: Java heap space ================================= ...