SOAPFaultException “MustUnderstand headers (oasis-200401-wss-wssecurity-secext-1.0.xsd) are not understood”

前端 未结 4 929
我寻月下人不归
我寻月下人不归 2020-12-14 18:32

I try to get information from web service that uses PasswordText WSS type. Firstly, I test it using soapUI and successfully got data. Then I implemented authentication on Ja

4条回答
  •  情歌与酒
    2020-12-14 19:16

    I found the solution. Following dependencies were required:

    
        org.apache.cxf
        cxf-rt-frontend-jaxws
        2.2.3
    
    
        org.apache.cxf
        cxf-rt-transports-http
        2.2.3
    
    

    Good article on this topic and some pitfalls of cxf: http://www.logicsector.com/java/how-to-create-a-wsdl-first-soap-client-in-java-with-cxf-and-maven/

提交回复
热议问题