Thanks million Prabath. It resolved that issue.
Now I get ClassCastException below- in addUserTokens() method.

I appreciate any pointers.

Best wishes
-Srini



java.lang.ClassCastException:
com.sun.xml.internal.messaging.saaj.soap.ver1_1.Message1_1Impl cannot be
cast to org.apache.axis.Message
        at
com.jeffhanson.ws.security.WSSecuritySample.addUserTokens(WSSecuritySamp
le.java:156)
        at
com.jeffhanson.ws.security.WSSecuritySample.main(WSSecuritySample.java:6
4)


-----Original Message-----
From: Prabath Siriwardena [mailto:[email protected]] 
Sent: Thursday, October 15, 2009 2:46 PM
To: Nagulapalli, Srinivas
Cc: [email protected]
Subject: Re: Help- Geting "Illegal key size or default parameters"
running sample program

Hi;

Please have a look at [1].

Thanks & regards.
-Prabath

[1]:http://blog.rampartfaq.com/2009/08/faq-001-javasecurityinvalidkeyexc
eption.html

Nagulapalli, Srinivas wrote:
> Hi all
> I get Illegal key size exception (on wsEncrypt.build(doc, crypto))
> when trying to run the sample program detailed at:
> http://www.devx.com/Java/Article/28816/0/page/4
>
> Code, properties file and exception trace are bellow. I am running it
as
> stand alone with wss4j.jar files downloaded, and folder to keystore on
> classpath (c:\try\keystore).
>
> I appreciate greatly any help or pointers
>
> Thanks
> Srini

This electronic message transmission contains information from the Company that 
may be proprietary, confidential and/or privileged. 
The information is intended only for the use of the individual(s) or entity 
named above.  If you are not the intended recipient, be 
aware that any disclosure, copying or distribution or use of the contents of 
this information is prohibited.  If you have received 
this electronic transmission in error, please notify the sender immediately by 
replying to the address listed in the "From:" field. 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to