code for a midlet accessing a web service