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
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to