Java Error

I tried to call the pub.xslt.Transformations:transformSerialXML service and received the error message below. Could anyone help me what to do. Many thanks for the assistance in advance.

Error message:

java.lang.reflect.InvocationTargetException:org.xml.sax.Attributes: method getQName(I)Ljava/lang/String; not found

Pls browse this wmXSLT article,very nice explanation on how to use XSLT module.Hope this helps for making changes in your code for your problem solution

It helped me.


there may be a different version of the org.xml.sax.Attributes class on the classpath than the one that the XSLT Adapter is expecting.

  1. Check if there is a CLASSPATH set on your machine.
  2. Look at the classpath listing from the IS About page.

Hi Gabor,

You have to remove xerces.jar from Drive:\webMethods\IS\jvm\lin\ext this location, then you won’t see that error. The reason is xerces.jar in that location is deprecated one and clashes with the one which is in the XSLT package.