Webservice Interview Questions

The followings are some commonly asked interview questions related to Web Services. These questions are alphabetically sorted. For other interview questions on other technical topics, go to my page here.

  1. Define SOAP?
  2. Explain the web service architecture?
  3. How do you generate web service client from WSDL files?
  4. How do you test a web service?
  5. Name few standards used in web services.
  6. What are some WSDL operations?
  7. What are the common components of web service?
  8. What is a bottom up approach?
  9. What is a provider and a consumer?
  10. What is a response caching?
  11. What is a top down approach?
  12. What is a web service protocol stack?
  13. What is a web service?
  14. What is an end point?
  15. What is REST protocol?
  16. What is SOAP-UI?
  17. What is UDDI?
  18. What is WSDL?
  19. What is XML RPC?
  20. What kinds of tools can you use for creating RESTful Web Services?
  21. Why would you choose REST instead of SOAP?

How to use spaces in IBM RAD or Eclipse Instead of Tabs

Having tab characters in the source code is not a very good coding practice. Static file analyzers like checkstyle can be configured to catch the tab characters as either warnings or errors but that configuration is beyond the scope of this article.

I will however talk why tab characters are bad:

  1. Tab characters need to be configured with the tab width and different users might choose to have different tab width (some may choose 3 characters, some 5), and thus the code violates the standard coding practice, especially when the code is shared and edited by multiple users.
  2. The other problem as mentioned in the Apache Jakarta coding standards is that in a ]distributed development environment, when the commit messages get sent to a mailing list, they are almost impossible to read if you use tabs.

By default, when you use your IDEs like IBM Rational Application Developer or Eclipse, the text editors are configured to insert tabs by default. So how do you tell the IDEs to use spaces instead of tabs? Follow the following steps.

Configure your default Text Editors:

Window->Preferences->Editors->Text Editors->Insert spaces for tabs

If you are using Eclipse 3.6

Window->Preferences->General->Editors->Text Editors->Insert spaces for tabs

You might also want to configure your Java Code Style Formatter

Window->Preferences->Java->Code Style->Formatter->Edit->Indentation = "Spaces Only"

Free Subversion Hosting For Your Projects

If you are looking for free subversion hosting for your projects, the following links might be useful to you.

As of the date I am writing this post, the following are the features provided in the free Accounts by these sites:

Unfuddle –

  • Storage: 200 MB
  • Active Project: 1
  • Archived Projects: 0
  • People: 2
  • Notebook Pages: 3
  • Repositories Subversion & Git : unlimited
  • Messages
  • Milestones
  • Bug Tracking
  • RSS
  • iCal

Project Locker –

  • Subversion: Source Control
  • Git: Source Control
  • Trac: Bug Tracking + Wiki + Project Management
  • Unlimited Repositories
  • Unlimited Projects
  • Unlimited Bandwidth Transfer
  • Web importing of Subversion dumps
  • Downloadable Backups : Not for free
  • Private — not visible to outsiders
  • SSL Encryption
  • Submit Trac tickets via email
  • Redundant RAID storage
  • Nightly Backups
  • Enterprise-grade reliability
  • 30 Day Money Back Guarantee
  • Email Support
  • Ad-Free Websites : NO
  • Request Details
  • Upgrade at any Time
  • Maximum # of Users: 5
  • Total Disk Storage : 5MB
  • Monthly Cost: Zero