RE: Trouble building wss4J (Running org.apache.wss4j.dom.message.ModifiedRequestTest)

2014-07-08 Thread Adrian Williamson
. Thanks Adrian From: Colm O hEigeartaigh [mailto:cohei...@apache.org] Sent: 07 July 2014 12:18 To: Adrian Williamson Cc: users@ws.apache.org Subject: Re: Trouble building wss4J Hi, I've fixed the ModifiedRequestTest (it was failing if the request was modified in the same

Test Failures in 2.0.2 Snapshoot : at org.apache.wss4j.stax.test.TimestampTest.testTimestampExpiredInbound(TimestampTest.java:203)

2014-07-09 Thread Adrian Williamson
Hi, I'm getting the error at the end of this note while running 'mvn -e package'. From this org.apache.wss4j.stax.test.TimestampTest.testTimestampExpiredInbound(Timesta mpTest.java:203) - Thread.sleep(1000); //done timestamp; now test timestamp-verification: {

RE: Test Failures in 2.0.2 Snapshoot : at org.apache.wss4j.stax.test.TimestampTest.testTimestampExpiredInbound(TimestampTest.java:203)

2014-07-09 Thread Adrian Williamson
. On Wed, Jul 9, 2014 at 10:39 AM, Adrian Williamson a...@octavo2.demon.co.uk wrote: Hi, I'm getting the error at the end of this note while running 'mvn -e package'. From this org.apache.wss4j.stax.test.TimestampTest.testTimestampExpiredInbound(Timesta mpTest.java:203) - Thread.sleep

RE: Test Failures in 2.0.2 Snapshoot : at org.apache.wss4j.stax.test.TimestampTest.testTimestampExpiredInbound(TimestampTest.java:203)

2014-07-09 Thread Adrian Williamson
] Sent: 09 July 2014 11:32 To: Adrian Williamson Subject: Re: Test Failures in 2.0.2 Snapshoot : at org.apache.wss4j.stax.test.TimestampTest.testTimestampExpiredInbound(TimestampTest.java:203) You can get the latest code via: svn co http://svn.apache.org/viewvc/webservices/wss4j/trunk

FW: CryptoFactory.getInstance(wss40.properties); - in Wss4J 2.0.2

2014-07-14 Thread Adrian Williamson
Can anyone shed some light on this? Thanks Adrian -Original Message- From: Adrian Williamson [mailto:a...@octavo2.demon.co.uk] Sent: 11 July 2014 16:06 To: users@ws.apache.org Subject: CryptoFactory.getInstance(wss40.properties); - in Wss4J 2.0.2 Hi, NetBeans/JDK1.7 is telling me

RE: FW: CryptoFactory.getInstance(wss40.properties); - in Wss4J 2.0.2

2014-07-14 Thread Adrian Williamson
...@apache.org] Sent: 14 July 2014 11:06 To: users@ws.apache.org Subject: Re: FW: CryptoFactory.getInstance(wss40.properties); - in Wss4J 2.0.2 What does your code snippet look like? Colm. On Mon, Jul 14, 2014 at 9:35 AM, Adrian Williamson a...@octavo2.demon.co.uk wrote: Can anyone

RE: FW: CryptoFactory.getInstance(wss40.properties); - in Wss4J 2.0.2

2014-07-14 Thread Adrian Williamson
Sorry, I just noticed the first error complaining about XMLSecurityException – I think there is some Maven voodoo going on to make things work that may take some time for me to tease out. From: Adrian Williamson [mailto:a...@octavo2.demon.co.uk] Sent: 14 July 2014 12:31 To: cohei

RE: FW: CryptoFactory.getInstance(wss40.properties); - in Wss4J 2.0.2

2014-07-14 Thread Adrian Williamson
to the properties and it has now stopped complaining about the CryptoFactory stuff. Thanks for the nudges. Adrian From: Adrian Williamson [mailto:a...@octavo2.demon.co.uk] Sent: 14 July 2014 12:45 To: cohei...@apache.org Cc: users@ws.apache.org Subject: RE: FW: CryptoFactory.getInstance

Does anyone have an example of using WSSecEncrypt.setUseThisCert()

2014-08-06 Thread Adrian Williamson
Hi, Has anyone got an example of how this method can be used? I've trying different values for the WSSecEncrypt.setKeyIdentifierType() but I keep getting application specific error messages back from the private service I'm calling. One of the error messages made me stop and ponder the extent

RE: Does anyone have an example of using WSSecEncrypt.setUseThisCert()

2014-08-08 Thread Adrian Williamson
); } return soapMessage; } From: Colm O hEigeartaigh [mailto:cohei...@apache.org] Sent: 08 August 2014 10:56 To: Adrian Williamson Cc: users@ws.apache.org Subject: Re: Does anyone have an example of using WSSecEncrypt.setUseThisCert() builder.setKeyEnc(WSConstants.TRIPLE_DES

Exception: Failed in processSecurityHeader block: java.lang.reflect.InvocationTargetException in Wss4J 2.0.2

2014-08-12 Thread Adrian Williamson
Hi, While trying to get this to work: results = this.secEngine.processSecurityHeader(doc,null,this.callbackHandler,this.cryp to); I got the exception below. I've looked at the 'caused by' bit: at org.apache.wss4j.common.cache.EHCacheManagerHolder.createCacheManager(EHCach