WebMethods Client – java.lang.NoClassDefFoundError: iaik/x509/X509Certificate

If you’re calling a WebMethods service from a client and you get the error below, you need to add the enttoolkit jar to your classpath. It can be found under the Software AG installation directory on the server: \common\lib\ext\enttoolkit.jar

java.lang.NoClassDefFoundError: iaik/x509/X509Certificate
	at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
	at com.wm.net.HttpURLConnection.getHttpURLConnection(HttpURLConnection.java:105)
	at com.wm.app.b2b.client.BaseContext.getURLConnection(BaseContext.java:456)
	at com.wm.app.b2b.client.Context.invoke(Context.java:950)
	at com.wm.app.b2b.client.Context.invoke(Context.java:900)
	at com.wm.app.b2b.client.Context.connect(Context.java:541)
	at com.wm.app.b2b.client.Context.connect(Context.java:495)
This entry was posted in Programming, Software AG and tagged , . Bookmark the permalink.

One Response to WebMethods Client – java.lang.NoClassDefFoundError: iaik/x509/X509Certificate

  1. zhao says:

    Can you sent the “\common\lib\ext\enttoolkit.jar” to me? Thanks!

Leave a Reply

Your email address will not be published. Required fields are marked *