add log saying that soapVersion could not be determined and what are you defaulting to. Is there no other way to determine that other than this instanceof??? Sounds like the kind of things to be merged on closed eyes