Tag Archives: Software AG

Unit Testing WebMethods Services With JUnit

Unit tests are ubiquitous (or at least should be) amongst software projects. Some environments are easier to unit test than others, and WebMethods is somewhere in the middle. As the services run on a server and the tests in your … Continue reading

Posted in Programming, Software AG | Tagged , , , | 2 Comments

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: … Continue reading

Posted in Programming, Software AG | Tagged , | 1 Comment

WebMethods Client – NoClassDefFoundError: javax/mail/internet/ParseException

If you’re calling a WebMethods service from a client and you get the error below, you need to add the java mail jar to your classpath. java.lang.NoClassDefFoundError: javax/mail/internet/ParseException 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 … Continue reading

Posted in Programming, Software AG | Tagged , | Leave a comment

WebMethods Client Maven Dependencies For 8.2.2.0

If you’re invoking WebMethods services from a Java client, you need 3 jars, two of which are specific to Software AG. Step 1: Add dependencies to pom <!– Software AG specific dependencies–> <dependency> <groupId>com.softwareag</groupId> <artifactId>wm-isclient</artifactId> <version>8.2.2.0</version> </dependency> <dependency> <groupId>com.softwareag</groupId> <artifactId>enttoolkit</artifactId> … Continue reading

Posted in Programming | Tagged , , | 1 Comment