Hi,

The XMLUtils class can be found but I see this after adding the xmlsec jar
to the classpath.

org.apache.xml.security.c14n.InvalidCanonicalizerException: You must
initialize the xml-security library correctly before you use it. Call the
static method "org.apache.xml.security.Init.init();" to do that before you
use any functionality from that library.
        at org.apache.xml.security.c14n.Canonicalizer.<init>(Unknown Source)
        at org.apache.xml.security.c14n.Canonicalizer.getInstance(Unknown
Source)
        at org.apache.xml.security.utils.XMLUtils.outputDOM(Unknown Source)
        at org.apache.rampart.util.Axis2Util.toOM(Axis2Util.java:176)


Thanks.


> that one is in the xml-security jar.
>
> On 10/10/06, Sathija Pavuluri <[EMAIL PROTECTED]> wrote:
>> Hello,
>>
>> I am trying to use the org.apache.rampart.util.Axis2Utils class from the
>> lastest nightly snapshot axis2-security-SNAPSHOT.jar to convert a DOM
>> element to OMElement.
>>
>> However, when I call the Axis2Utils.toOM(Element el) method it throws a
>> "NoClassDefFoundError org.apache.xml.security.utils.XMLUtils"
>> Where can I find this class?
>>
>> I did find "org.apache.ws.security.util.XMLUtils" class in the wss4j
>> jar.
>> But it is still not the same as the one that Axis2Utils is looking for.
>>
>> I'd appreciate if someone could point to the right jar where this class
>> can be found.
>>
>> Thanks!
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>
>
> --
> Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service Developers)
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to