Forum Discussion

solidstore's avatar
solidstore
New Contributor
15 years ago

Incoming WS-Security - NullPointerException

I'm testing my WCF webservice and have successfully configured WS-Security for the outgoing call. SoapUI is sending the message correctly but I'm not receiving a response. I have configured incoming WS-Security to use the same keystore but i receive a java.lang.NullPointerException in the WSS tab of the response window. Nothing else is show in the error log etc...

Any suggestions to figure out what is wrong?
  • ateeq84's avatar
    ateeq84
    Occasional Visitor

    Hello,

     

    We've encountered the similar error and were able to fix it. The reason for that error is that the WSS4J library needs XmlSec libraries starting from the version 1.5.6 but the SOAPUI is exported with the version 1.4.5.

     

    This issue can be resolved by replacing the following jar 'xmlsec-1.4.5.jar' with this one 'xmlsec-1.5.6.jar'.

     

    I'm hoping that the SOAPUI team fixes this issue in new releases.

     

    Regards,

    Ateeq

    • rupert_anderson's avatar
      rupert_anderson
      Valued Contributor

      Hi,

       

      Thanks for sharing that fix, excellent information! :-)

       

      I hope the project team can pick up on this, should be an easy fix for them...

       

      Kind regards,

      Rupert