Hi Amila, 1_6 branches of Axis2, Rampart is still dependent on Neethi 2.0.x. There are some huge API changes for Neethi 3.0.x which are not backward compatible. So currently only Axis2 and Rampart trunks are depending on Neethi 3.0.x. This is a collective decision took sometime back both in WSO2 and Axis2 community.
Thanks, Thilina On Mon, Aug 22, 2011 at 2:44 AM, Amila Silva <[email protected]> wrote: > Hi devs, > > I ran into this issue while working on synapse sample automation framework. > > There has been (apparently) a typo in the class name > org.apache.neethi.builders.xml.XmlPrimtiveAssertion in Neethi 2.0.x > releases. > This has been fixed in Neethi 3.0.x to org.apache.neethi.builders.xml.Xml* > Primitive*Assertion. > > However org.wso2.throttle.ThrottleFactory (in trunk [1]) still uses > XmlPrimtiveAssertion. > > Synpase uses wso2throttle snapshot version for throttle mediator. Due to > above issue, Neethi 3.0.x cannot be used. > > According to [2], Axis2 version (1.7.0-SNAPSHOT) used by Synapse requires > Neethi 3.0.x. > > Therefore synapse's WS-Security and WS-RM samples (Sample100, Sample101 > [3]) don't work when Neethi 2.0.x is used. > (java.lang.NoSuchMethodError: > org.apache.neethi.Policy.normalize(Z)Lorg/apache/neethi/Policy;) > > Changing Neethi version to 3.0.x breaks the throttling samples (Sample370, > Sample 371...) > (java.lang.NoClassDefFoundError: > org/apache/neethi/builders/xml/XmlPrimtiveAssertion) > > This should be solved from wso2throttle side, right? > > [1] - http://wso2.org/repos/wso2/trunk/commons/throttle > [2] - https://issues.apache.org/jira/browse/SYNAPSE-788 > [3] - http://synapse.apache.org/Synapse_Samples.html#Sample100 > > -- > Regards, > Amila Manoj > > > _______________________________________________ > Carbon-dev mailing list > [email protected] > http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev > > -- Thilina Buddhika Associate Technical Lead WSO2 Inc. ; http://wso2.com lean . enterprise . middleware phone : +94 77 44 88 727 blog : http://blog.thilinamb.com
_______________________________________________ Carbon-dev mailing list [email protected] http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
