Entries Tagged as ‘Java’

April 9, 2009

Adding SOAP Headers to CXF Calls

Recently, I consumed a WSDL with Apache CXF that required authentication information to be placed into a SOAP Header rather than through standard HTTP authentication. This is all well and good, but I couldn’t figure out how to attach the headers to the CXF method calls. The authentication object had been generated by [...]

December 24, 2008

Manually Set Map Value in Struts 2

Often, the Struts 2 tag library doesn’t offer enough functionality to support a nice DHTML type of layout. In those cases, I find myself creating URLs manually to send to the action.
In most cases, this isn’t a bid deal. However, to make it work right, you have to duplicate the format that Struts [...]

December 12, 2008

The Power of Unit Tests

Yesterday, my dev team embarked on a significant refactor of our main code base in order to merge in a branch alongside implementing new functionality and changing some existing classes. A trifecta of complexity if you will. For a production quality system, one that we expect to deploy very soon and is the [...]