From Gen Server to Web Service in 30 minutes
August 29, 2007Following on from my last post - it was refreshingly easy to take a Gen procedure step that I had written in 1999 (and never changed - but still working and using action blocks written by other people in 1997 and 199
and get a Java proxy built out of it and apply the Web Service Wizard and deploy (ok - in a “proof of concept” environment) a simple Web Service.
Additionally, aside from some configuration issues, the service was generated in total, in around 30 minutes!
“If it sounds too good to be true - then it probably is”… is what people normally say about these type of claims, but in this case, I have to support the fact that it IS good, and it IS true !
The Java Proxy just worked, out of the box (see last post!!!) and the Web Service Wizard gave me some WSDL that, again, simply worked with no adjustment. We formed a view that to publish an existing Gen procedure step would require a small amount of rework to adjust the views presented to the outside world, a bit of repackaging and hey-presto, there’s your web service done!
The benefit of all of this of course is that the business logic is contained in one model, and in our case, deployed on the same set of boxes. Taking the alternative approach of building stuff from scratch would have taken months. Surely this is the ultimate in “ROI” - returning the investment by reusing whole systems has gotta be the way to go……











Posted by gentalk



