Blog Archives

Change or Add SOAPAction Header

It wasn’t the easiest thing to find, so I wanted to link to this page on how to change the SOAPAction header of a message in CXF. This is especially useful if you have a SOAPAction header that is = “” and causing issues when trying to connect to a .NET or WCF server with a Java client. (Keywords galore!)

Here’s the error I was getting: The message with Action ” cannot be processed at the receiver, due to a ContractFilter mismatch at the EndpointDispatcher. This may be because of either a contract mismatch (mismatched Actions between sender and receiver) or a binding/security mismatch between the sender and the receiver. Check that sender and receiver have the same contract and the same binding (including security requirements, e.g. Message, Transport, None).

And here’s the easy, one-line solution:

For the most part, you probably don’t even need an interceptor for this. Just
do something like:


before calling the method. That should do it.

Thanks, Daniel Kulp.

Find me, Google: Empty SOAPAction header

Sun Certified Java Programmer

Evidently there are still pay hikes during the Great Recession:

According to the first quarter results from Foote Partners, pay for noncertified skills in Linux rose by more than 28%, while Apache and Sybase noncertified skills saw 25% increases in pay. Pay for Java and HTTP skills increased by 20%, while IT professionals with PHP, SAP and Unix noncertified skills experienced a more than 14% pay increase. Certified IT skills that saw pay increases include HP/Certified Systems Engineer with a 14.3% increase in pay, and Sun Certified Programmer for Java Platform, which experienced an increase of 13.5% in pay. IT professionals with EMC Proven Professional certifications experienced a 12.5% increase in pay, as did IBM Certified Specialists. Systems Security Certified Practitioner pay increased in the first quarter by 12.5%.

(emphasis mine)

Since becoming a Sun Certified Programmer for the Java Platform was already a goal of mine for this year (that being, the next 365 days), I now have some false hope added incentive.