WSIT/Metro doesn't understand Security SOAP header

泪湿孤枕 提交于 2019-12-03 07:54:35

I just had the same problem, I solved by updating mi project to METRO 2.0. on Netbeans, Project Properties -> import Library -> MEtro 2.0.

On glassfish just update the same library by command line.

I am not sure about the error, but I assume the server doesn't know about this namespace: http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd.

You don't wrote about the client. Metro also I assume. - With same version? - Did you use wsimport to create it?

If don't create a new client, use some IDE wizard to create it, also to configure the security. This should work if it was human error..

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!