Dimuthuc’s Weblog

Just using what others shared..

Axis2/C codegen helper tools

In a case somebody feel not well to work with the WSDL2C tool, I have written some scripts to help generating demos, writing tests and building code. From that I think the demo generation script should be really useful. It s a ruby script and you can download it from here. (http://people.apache.org/~dimuthu/leisure_time.html, check the script under 23th October 2007)

What you should do is generate the code using WSDL2C tool (It can be either stub or skel), and run the script within the generated files. If it is stub, then there will be a demo.c file, which is a complete demonstration of writing all the operation using ADB objects. And if it the skel, then the demo filename will be axis2_skel_myservice2.c (axis2_skel_myservice.c is the original generated file). That has implemented some fake logic to show how each operation can be built using ADB.

I hope this will be useful to people who are searching for WSDL2C tags.:)

December 1, 2007 Posted by dimuthuc | WSDL2C/ Codegen, Web services, axis2/c | , , | 6 Comments

Checklist for Formatting Hard disk

Today the whole day I prepared to format the hard disk. Since I have access to internet I don’t need to think twice before doing this kind of things anymore. But there are few things I should not miss.

  • Commit the changes done to all the svns
  • Backup my_works directory
  • Backup .gaim, .m2 and .mozilla-thunderbird directories and .vimrc
  • Export the browser bookmark and backup somewhere
  • Backup the tests folder, this is where I write simple tests for any problem, More than half of the work per day is done inside here.
  • Delete films, fun directories. :( Well it will automatically get deleted.
  • Backup documents that I downloaded from the web, when I didnt have regular access to internet, Better take them safe somewhere.
  • Backup www directory. This time I already mis-deleted it.
  • What else?

I think that’s it. Most important thing is to backup whatever the work I done, they can never be recovered otherwise. Hope I have done everything ok.!

December 1, 2007 Posted by dimuthuc | Private | , | No Comments Yet