Using Wss4jSecurityInterceptor throws a WRONG_DOCUMENT_ERR: A node is used in a different document than the one that created it

前端 未结 3 1050
悲&欢浪女
悲&欢浪女 2021-01-05 11:30

I am upgrading my application to Java 11 and Spring boot 2.1.2 and running into following error when trying to communicate over SOAP to an external partner. It is the Wss4jS

3条回答
  •  夕颜
    夕颜 (楼主)
    2021-01-05 11:38

    Apparently there is a bug in the wss4j-ws-security-dom that spring pulls in. 2.2.0.

    I updated to latest version 2.2.2 and it worked:

提交回复
热议问题