Tuesday, September 9, 2008

Not Set For Serialization

Well, you learn something new everyday...

We have a couple of applications at work which use Axis to talk to each other, and today I spent the better part of the day working to debug an "issue" which turns out is kind of mentioned in the Axis user guide. D'oh! Turns out that while an object may be serializable in the "usual" java way, but given that this object (which my application receives) didn't have setter methods for a couple of attributes, those attributes aren't serialized by Axis (and therefore not passed over to us).

But hey, that's the first problem we had in the last few days which wasn't actually caused by our new work :-)

And I think I have a winner for the strange and grammatically-incorrect, yet somewhat amusing error message of the week: "There is a problem to make the web booking for XYZ". Yeah... hugely helpful. It also comes with the additional details of an exception toString. All of this, of course, is hugely appropriate for corporate app :-) Suffice to say it's now been "upgraded" to be a little more user-friendly.