0 Replies Latest reply: Jan 30, 2012 11:17 PM by tee tee RSS

    Request does not contain Security header, but it's a fault. exception , i follow https://docs.jboss.org/author/display/JBWS/WS-Security tutorial

    tee tee Newbie

      I follow the sample show in https://docs.jboss.org/author/display/JBWS/WS-Security . When i try to run client , i got the following exception . I get the bob.jks from

      jbossws-cxf-4.0.0\output\test-libs\jaxws-samples-wsse-policy-sign-encrypt and  alice.jks from jbossws-cxf-4.0.0\output\test-libs\jaxws-samples-wsse-policy-sign-encrypt-client .

       

      WARNING: Request does not contain Security header, but it's a fault.

      javax.xml.ws.soap.SOAPFaultException: WSHandler: no reference in callback property

          at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:156)

          at $Proxy22.sayHello(Unknown Source)

          at com.sign.encypt.signEncypt.main(signEncypt.java:38)

      Caused by: org.apache.cxf.binding.soap.SoapFault: WSHandler: no reference in callback property

          at org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.unmarshalFault(Soap11FaultInInterceptor.java:75)

          at org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.handleMessage(Soap11FaultInInterceptor.java:46)

          at org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.handleMessage(Soap11FaultInInterceptor.java:35)