RE: Policy not supported: is it a bug ?

2012-04-09 Thread Gordon2
Hello, I get an IllegalArgumentException and an error message "...is not a element" that is very similar to the one described below by Francois, but it's for a UsernameToken security policy. It worked ok in axis2-1.5.1/rampart-1.5, but not axis2-1.6.1/rampart-1.6.1. Should I assume this is part

Re: Policy not supported: is it a bug ?

2012-04-09 Thread Gordon2
Yes, it's on the client side generated using Dennis Sosnoski's library-granular.wsdl. It generates and compiles ok, but the client java code hits this exception in neethi: [java] Connecting to http://localhost:8080/axis2/services/library-granular [java] Exception in thread "main" java.l

Re: Policy not supported: is it a bug ?

2012-04-12 Thread Gordon2
Jaime, I got the latest axis2-1.7.0 and rampart snapshot using maven, and I found that my client actually succeeds in adding the UsernameToken security policy, which it fails to do in 1.6.1 (for me at least). I see axis2-1.7.0 uses neethi 3.0.2, and axis2-1.6.1 uses 3.0.1. I don't know if that a

Re: Policy not supported: is it a bug ?

2012-04-13 Thread Gordon2
Andreas, I tried it with the current 1.6.2 snapshots of axis2 and rampart, and the client works fine. The bug was apparently due to rampart's policy serialization in earlier versions, as you described. Thanks, Gordon Andreas Veithen wrote > > There are actually two things: > > 1. Neethi 2