C# – Check if key exists using these Dictionary Methods

A well-rounded software developer could easily switch between programming languages. Besides, full-stack developers do this already. They have skills for both backend and frontend. Therefore, we should learn another language like C# no matter what programming language forte we come

Ruby – How to create a Class and its Object

This post shows Ruby codes that create a simple class and objects from that class. Yes, Ruby is an old and weird programming language, but people and companies are still using it. Therefore, no one programming language has a monopoly

How to block port using Ruby for testing purposes

This post is about using a port so that other applications will not use it in test scenarios. For instance, you have some tests that use a mock web service, and you require ranges of port numbers. So, the idea

Remove XML Element based on parameter in Java using XSLT

This post shows how to remove an XML element based on some parameters in Java using XSLT. We mean parameters for the Transformer object and let XSLT work its magic during the transformation. Therefore, three significant events will happen. First,

Retry Operation at specific Exception using Spring Retry

Spring-Retry allows us to retry operations when the codes encounter exceptions. How do we limit the retries to specific exceptions only? For instance, we wouldn’t want to retry SOAP Web Service operations. The operations may throw exceptions due to invalid

Log Unencrypted SoapFault Messages in Apache CXF

This post shows how to log unencrypted SoapFault messages from Apache CXF  in client applications. These applications use WS-Security for encryption and decryption. Note that this write-up assumes the reader is familiar with the more advanced stuff in SOAP-based web