Author Archives: Michael

IT Cuties and Code Babes – Why Oh Why?

An acquaintance of mine posted a link to the IT Cuties site. The description is “Programming tutorials hosted by cute girls”. Not women, but girls. This led me to discover the even more explicit Code Babes where you can learn … Continue reading

Posted in IT | Tagged | 4 Comments

HMAC SHA512 in Java

When doing some research on authentication tokens I came across the post Don’t Hash Secrets and learn’t of a few new things, one of which was HMAC: Hash-based message authentication code. I use Google Guava for some utility functions, but … Continue reading

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

Submit HTML form using AngularJS

The payment gateway I’m integrating with requires a post from a form to navigate to their payment page. Some of the information I need to post is dependent on the results from a call to my back end server. My … Continue reading

Posted in Programming | Tagged , | Leave a comment

Xamarin View Fails To Bind To Model

MvxBind:Warning: 9.81 Unable to bind: source property source not found Property:SomeObject on null-objectMvxBind:Warning: 9.81 Unable to bind: source property source not found Property:SomeObject on null-object One of the causes of the above error is mixing up the order of base.OnCreate … Continue reading

Posted in Programming | Tagged , | Leave a comment

5 Minute NLog Wrapper: Limiting The Number Of Emails Sent

If you’re using an Email target to send notifications when an error occurs, it may be useful to limit the frequency of those emails. One way of achieving this is to wrap your target that sends email in a Wrapper … Continue reading

Posted in Programming | Tagged , | 3 Comments

JEE7 Launch with Arun Gupta

The Jozi JUG is hosting Arun Gupta on 26 August for the launch of JEE7. You can RSVP on Meetup. See you there! Arun Gupta will be flying in (not to Waterkloof) to give a presentation to the Jozi JUG … Continue reading

Posted in Uncategorized | Leave a comment

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