我意识到WS 1.4规范所述内容与验证它的xsd之间存在差异。
声明规范的命名空间是:http://docs.oasis-open.org/ws-sx/ws-trust/200512
但是xsd上的命名空间是:http://docs.oasis-open.org/ws-sx/ws-trust/200512/
当我试图验证使用WS-Trust规范生成的xml时,它会给出一个错误。
我正确地说,xsd应该读取http://docs.oasis-open.org/ws-sx/ws-trust/200512而不是http://docs.oasis-open.org/ws-sx/ws-trust/200512/?
参考资料:
发布于 2019-03-07 20:55:51
我不知道你在哪里找到了你说的模式,但我找到的是
http://docs.oasis-open.org/ws-sx/ws-trust/v1.4/ws-trust-1.4.xsd
而且它的targetNamespace没有尾随"/“。
https://stackoverflow.com/questions/55049887
复制相似问题