• Post Reply Bookmark Topic Watch Topic
  • New Topic

Webservice: Telephone Book

 
Mario Huber
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hallo everybody. First of all, I want to say, that I'm new to this topic and that English is not my mother tongue but I hope you will understand.

Applications: Netbeans (8.0.1), Apache Tomcat

My Aim: Creation of a telephone book

How should it work:
I have a Database with Data of people (name, adress, phone number).
If a user enters a phone number (CLIENT) -> the correct person with the name and adress should appear.

I'm quiet new to this topic and I would like to learn it by using this example.

I build up the infrastructure and now I'm at the point that I have to create a Webmethod for it. Can somebody help me with it? It would be really nice. I just worked on projects like addition of two integers, hello "name", ... I think this example now is harder, BUT i can learn a lot!

I would be very grateful if somebody could help me! Thank you very much!
Best Regards!
 
Salil Vishnu Kapur
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hey mario !
I am also stuck on the same problem , did anyone sought it out for you ?
 
Mohamed Sanaulla
Bartender
Posts: 3166
34
Google App Engine Java Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Firstly do you want to create a RESTful Web service or a SOAP Web service? If you are not familiar with both then please read about them. RESTful way of building web services has been quite popular for sometime now.
In any case you have to identify the APIs you want to expose as a web service. Something like:
1. Get name and address given the phone number
2. Add a new contact to the database.
3. Modify an existing contact.
4. Delete an existing contact.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!