There is an issue with using WSS4J for Java Consumer calling .NET 2.0 Web Service with WS-Security.
The default SecretKey size that is generated in WSS4J is 16 whereas .NET used 32
I changed the UsernameToken class to generate the secretkey using 32 as the length and then it worked.
This shoule be officially released in a version.
|Assignee||Ruchith Udayanga Fernando [ ruchith ]||Colm O hEigeartaigh [ coheigea ]|
|Fix Version/s||1.5.9 [ 12314133 ]|
|Fix Version/s||1.6 [ 12313718 ]|
|Affects Version/s||1.5.8 [ 12313880 ]|
|Affects Version/s||1.5.4 [ 12313167 ]|
|Status||Open [ 1 ]||Resolved [ 5 ]|
|Resolution||Fixed [ 1 ]|
|Status||Resolved [ 5 ]||Closed [ 6 ]|