You are viewing a plain text version of this content. The canonical link for it is here.
Posted to wss4j-dev@ws.apache.org by Fang Jian <jx...@yahoo.com> on 2005/10/11 18:44:41 UTC

signature verification failed

Hi,

I am trying to use the WSS4J handler for Jaxws 2.0
security processing. I succeeded in testing User Name
Token and User Name Token Encryption. When I am
testing signature, some problem occurred. If I use
client connecting to the server, the signature
verfication seems successful. I intercepted the XML
Markup for the soap message sent by the client and
using this XML file as the input to the web service
for unit test, the signature verification failed. I
traced the the code and found the CertUri, STRId,
KeyInfoUri are different at the server side when the
server WSS4J handler decodes the soap message from the
xml file. What is the cause for this problem? Or is it
impossible to do unit test using the xml file for
signature? The xml file for unit test works fine for
User Name Token and User Name Token Encryption. Could
anyone give me some hints about it?

Thanks in advance,

Jian 


		
__________________________________ 
Yahoo! Music Unlimited 
Access over 1 million songs. Try it free.
http://music.yahoo.com/unlimited/

---------------------------------------------------------------------
To unsubscribe, e-mail: wss4j-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: wss4j-dev-help@ws.apache.org