This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

NPE while trying to verify digital signature (AXIS and WSS4J)  RSS feed

 
Amjad Hawwash
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I'm getting the following error on client side while trying to verify the response signature, I'm using AXIS 1.4 and WSS4J 1.5.8.

I've included some debug lines before the exception.



my client-config.wssd :



note: I used 2 crypto property files because I sign the request with a private key, and I should verify the server response signature with its' certificate, and they are stored on different files.

Appreciate any help

Thanks
 
Manju Sebastian
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hope jars version is not the problem. Just make sure by axis2
 
Amjad Hawwash
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I tried to generate client stub using Axis2, but it's not generating all the service ports, because the WSDL I'm using contains 1 service with multiple ports.

even when I tried to generate it with the WSDL2Java command line options -sn and -sp, still did not work.

 
Amjad Hawwash
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I still need help on this (NPE), anyone please
 
Amjad Hawwash
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Solved!

I placed the following 2 JAR files under <java_folder>\jre\lib\endorsed :

xercesImpl-2.8.1.jar
xml-apis-1.3.03.jar

and it worked
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!