• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

J2ME and web services

 
Ranch Hand
Posts: 524
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,
I am writting an application which is searching for employee details when the name is entered. My friend told me that I can use web services to retrieve data(He mentioned some thing about XML). I have no idea what he is saying. I just wanted to know whether it is possible to use web services with J2ME(MIDlet) and if can how?
Thank you in advance.....
 
author
Posts: 1436
6
Python TypeScript Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yes, I will refer you to an article I published almost exactly two years ago today:

http://www.javaworld.com/javaworld/jw-08-2002/jw-0823-wireless.html
 
Ransika deSilva
Ranch Hand
Posts: 524
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi ,
Thanks once again for replying very quickly. I will just go through and try to figure out. Thanks..
 
Ransika deSilva
Ranch Hand
Posts: 524
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I am little bit confused now. Can you kindly tell me what are the basic steps that I have to follow to use a web service. I mean what to do I have to do. Thanks...
 
Michael Yuan
author
Posts: 1436
6
Python TypeScript Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You need to parse the XML data into Java objects so that your program can use them. Two important XML parsers on J2ME are kXML (for plain XML) and kSOAP (for SOAP Web services). Of course, JSR 172 would change everything in the future.
 
reply
    Bookmark Topic Watch Topic
  • New Topic