I hope that that saying applies to web services too. After five hours of off and on struggling with the nuances of XML schemas and Spring-WS, I have finally gotten a basic web service of my own working based on some code borrowed from the Spring-WS echo sample. In hindsight, it actually isn't hard, but I'm looking at the effort involved and left wondering why it has to be so hard to do that when the following Perl code would have sufficed:
use SOAP::Transport::HTTP;
SOAP::Transport::HTTP::CGI->dispatch_to('Demo')->handle();
package Demo;
sub add {
shift;
my $one = shift;
my $two = shift;
return ($one + $two);
}
I'll be writing up a tutorial to document what I have done, and how I got here. Might also be useful for others since tutorials are few and far between on Spring-WS. Here's to hoping that Java becomes the next COBOL.
Congratulation Mike! If I were your boss I will definitely give you a raise for a job well done. You’ve been always sharing your ideas and for that two thumbs up. In times of recession many of us really wants raise in their salary. The truth is only Congress doesn't have to ask anyone for it. Typically, you will get a salary increase if you get a promotion or you might get incentives for a job well done. But if you want a bit more money in your pocket and don't want to have to worry about getting payday loans, you have to butter up your boss, and with the economy the way it is these days, it's no surprise that it's not that easy. Dress to impress, have the facts on your side, and make a good case. Debt relief can come from a raise. Raise is not bad if you truly deserve it. I just hope some company owners and government agencies realize this.