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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to