Skip to Content.
Sympa Menu

mace-opensaml-users - Re: [OpenSAML] This DOM 3 API, method getWholeText of interface org.w3c.dom.Text, is not supported

Subject: OpenSAML user discussion

List archive

Re: [OpenSAML] This DOM 3 API, method getWholeText of interface org.w3c.dom.Text, is not supported


Chronological Thread 
  • From: Jochen van Waasen <>
  • To:
  • Subject: Re: [OpenSAML] This DOM 3 API, method getWholeText of interface org.w3c.dom.Text, is not supported
  • Date: Thu, 19 Nov 2009 21:18:39 +0100

Well, basically they want to send a consultant from the services devision :-)

They suggested that I upgrade to WebSphere 7.0.0.7 with built-in SAML support ....
I will try to update my WebSphere 6.1 to the latest fix pack level, maybe this helps.

Should the org.w3c.dom.Text be in the xalan.jar ?

Thanks
Jochen

Chad La Joie wrote:
What was IBM's suggestion for this?

Jochen van Waasen wrote:
Hi guys!

I am really desperate because I can not make opensaml work in WebSphere. I guess this is a class loader issue but maybe someone knows ...

My issue is this:
org.w3c.dom.DOMException: WSWS3732E: Error: This DOM 3 API, method getWholeText of interface org.w3c.dom.Text, is not supported.
at com.ibm.ws.webservices.engine.xmlsoap.dom.impl.DOMTextImpl.getWholeText(DOMTextImpl.java:210)
at org.opensaml.xml.io.AbstractXMLObjectUnmarshaller.unmarshallTextContent(AbstractXMLObjectUnmarshaller.java:336)

I ship all opensaml .jars (plus xalan and xerces) with my enterprise application. The classloader for the app is set to APPLICATION FIRST. So it should look at the .jars that come with the enterprise application first before it tries to load other .jars. I have tried the endorsed mechanism of the jre and put in opensaml .jars (plus xalan and xerces) jars on the jre level but the error is still the same.

My code looks like this:

DefaultBootstrap.bootstrap();
UnmarshallerFactory unmarshallerFactory = Configuration
.getUnmarshallerFactory();
Unmarshaller unmarshaller = unmarshallerFactory
.getUnmarshaller(assertionElement);
// The next line produces the exception
Assertion samlAssertion = (Assertion)unmarshaller
.unmarshall(assertionElement);


I need to put something in my classpath so that com.ibm.ws.webservices.engine.xmlsoap.dom.impl.DOMTextImpl is not used.
What .jar does the Unmarshaller need?

Thanks
Jochen




Archive powered by MHonArc 2.6.16.

Top of Page