Date post: | 07-Aug-2018 |
Category: |
Documents |
Upload: | sonu-kumar |
View: | 216 times |
Download: | 0 times |
of 12
8/20/2019 Web Service Interview
1/28
Top 20 web services interview questionsand answers
Tell me about yourself?
1
8/20/2019 Web Service Interview
2/28
This is probably the most asked
question in web services interview. It
breaks the ice and gets you to talk
about something you should be fairlycomfortable with. Have something
prepared that doesn't sound rehearsed.
It's not about you telling your life story
and quite frankly, the interviewer ust
isn't interested. !nless asked to do so,
stick to your education, career andcurrent situation. "ork through it
chronologically from the furthest back
to the present.
1
8/20/2019 Web Service Interview
3/28
Define Web Service?
# web service is a kind of software that
is accessible on the Internet. It makesuse of the $%& messaging system and
offers an easy to understand, interface
for the end users.
1
8/20/2019 Web Service Interview
4/28
What Can You Do for Us That Other CandidatesCan't?
"hat makes you unique Thiswill take an assessment of
your e(periences, skills and
traits. )ummari*e concisely+
I have a unique combination
of strong technical skills, and
the ability to build strongcustomer relationships. This
allows me to use my
knowledge and break down
information to be more user-
friendly.
1
8/20/2019 Web Service Interview
5/28
Give me an examle of real !eb service?ne e(ample of web services is I/%
"eb )ervices browser. 0ou can get it
from I/% #lphaworks site. This
browser shows various demos related to
web services. /asically web servicescan be used with the help of )#,
")2&, and !22I . #ll these, provide a
plug-and-play interface for using web
services such as stock-quote service, a
traffic-report service, weather service
etc.
1
8/20/2019 Web Service Interview
6/28
"o! you define !eb service rotocol stac#?It is basically set of various
protocols that can be used to e(plore
and e(ecute web services. The entirestack has four layers i.e. )ervice
Transport, $%& %essaging, )ervice
2escription and )ervice 2iscovery.
1
8/20/2019 Web Service Interview
7/28
Can you define each of these layers of rotocolstac#?
The )ervice Transport layer transfer
messages between different
applications, such as HTT, )%T,
3T, and /locks 4(tensible 4(change
rotocol 5/446. The $%&
%essaging layer encodes messages in
$%& format so that messages can be
understood at each end, such as
$%&-78 and )#. The )ervice
2escription layer describes the user
interface to a web service, such as
")2&. The )ervice 2iscovery layer
centrali*es services to a common
registry and offer simple publish
functionality, such as !22I.
1
8/20/2019 Web Service Interview
8/28
Discuss various aroaches to develo SO$%based !eb service?
"e can develop )# based webservice with two different types of
approaches such as contract-first and
contract-last. In the first approach, the
contract is defined first and then the
classes are derived from the contract
while in the later one, the classes aredefined first and then the contract is
derived from these classes.
1
8/20/2019 Web Service Interview
9/28
&ame bro!ser that allo!s access to !ebservice?
9ava)cript $mlHttp7equest obect is
required to access web service via
browsers. The browsers that support this
obect are Internet 4(plorer, )afari and
%o*illa-based browsers like 3ire3o(.
1
8/20/2019 Web Service Interview
10/28
"o! can you document !eb service?"eb services are contemplated as self-
documenting because they provideentire information regarding the
available methods and parameters used
for $%& based standard, known as
")2&. ne can also provide more
information to e(plain web services
via their own "eb)ervice and"eb%ethod attributes.
1
8/20/2019 Web Service Interview
11/28
What are the situations !hen !e need $S%(&)T!eb services?
#).:4T web services are used whenone need to implement three tier
architecture in a web service. It allows
handy ways to use middle tier
components through internet. The main
advantage of .:4T "eb services is that
they are capable enough to communicateacross firewalls because they use )#
as transport protocol.
1
8/20/2019 Web Service Interview
12/28
Differentiate bet!een !eb services CO*+$ andDCO,?
"eb services transfer;receive messagesto;from application respectively, via HTT
protocol. It uses $%& to encode data.
87/# and 28% transfer;receive
messages to;from application respectively,
via non-standard protocols such as II
and 78.
1
8/20/2019 Web Service Interview
13/28
Can you tell fe! benefits of !eb services?The biggest advantage of web
service is that is supported by
wide variety of platforms.%oreover, in near future, web
services may spread its boundary
and enhance new methods that
will provide ease to clients. The
enhancement will not affect the
clients, even if they offer oldmethods and parameters
1
8/20/2019 Web Service Interview
14/28
Can you name some standards used in !ebservices?
The standards used in web services are
")2& 5used to create interface definition6,
)# 5used to structure data6, HTT
5communication channels6, 2I)8 5used to
create discovery documents6 and !22I
5used to create business registries6.
1
8/20/2019 Web Service Interview
15/28
)xlain in brief !hat D-SCO is?2I)8 means discovery. It groups the list
of interrelated web services. The
organi*ation that provides web services,issues a 2I)8 file on its server and that
file contains the links of all the provided
web services. This standard is good when
client knows the company already. #lso it
can be used within a local network as well.
1
8/20/2019 Web Service Interview
16/28
)xlain in brief !hat UDD- is?!22I 5!niversal 2escription,
2iscovery, and Integration6 provides
consolidated directory for web serviceson the internet. 8lients use !22I to
find web services as per their business
needs. It basically hosts the web
services from various companies. In
order to share web services, you need
to publish it in !22I.
1
8/20/2019 Web Service Interview
17/28
)xlain the (&)T !eb services suorted datatyes?
:et web services uses $%&-based
standards to transfer;receive
information. Thus, .:4T web services
can only works with data types known
by $%& schema standard. &ike
3ile)team, 4ventlog etc. are not
recogni*ed by the $%& schema
standards and hence, not supported in
web services.
1
8/20/2019 Web Service Interview
18/28
"o! a (&)T !eb service is consumed?)ince we know that web services are
constructed on $%& standards.Therefore, clients need to have
complete understanding of $%&-based
messages to interchange messages.
8lients can communicate with web
services through .:4T framework that
offers pro(y mechanisms. These pro(ymechanisms have detailed information
regarding data sharing within web
services that can be easily used by the
clients.
1
8/20/2019 Web Service Interview
19/28
Differentiate bet!een (&)T Web Services and(&)T *emotin.?
#s far as protocol is concerned, .:4T
"eb )ervice uses HTT, while, .:4T
7emoting uses any protocol i.e.
T8;HTT;)%T. "hen it comes to
performance, .:4T 7emoting is
comparatively, faster than.:4T "eb
)ervice. #lso, as .:4T "eb )ervices
are hosted via II), therefore, it is far
more reliable than the .:4T 7emoting.
1
8/20/2019 Web Service Interview
20/28
)xlain fe! disadvanta.es of *esonseCachin.?
7esponse 8aching is useless or
incompetent when method accepts
e(tensive amount of values because
caching means to store lot of
information. #lso, if the method
depends on e(ternal source of
information, and that are not provided
within the parameters then such
methods are bypassed.
1
8/20/2019 Web Service Interview
21/28
!hat is rest rotocol ?74)T stands for 7epresentational )tate
Transfer. 5It is sometimes spelled 7e)T.6
4)T is a lightweight alternative tomechanisms like 78 57emote rocedure
8alls6 and "eb )ervices 5)#, ")2&, et
al.6. &ater, we will see how much more
simple 74)T is.
2espite being simple, 74)T is fully-
featured< there's basically nothing you can
do in "eb )ervices that can't be done with a74)Tful architecture.
74)T is not a standard. There will never
be a "=8 recommendation for 74)T, for
e(ample. #nd while there are 74)T
programming frameworks, working with
74)T is so simple that you can often roll
your own with standard library features inlanguages like erl, 9ava, or 8>.
1
8/20/2019 Web Service Interview
22/28
To / tis for 0ob intervie!
Ti 12 Do your home!or#
1
8/20/2019 Web Service Interview
23/28
0ou'll likely be asked difficult questions
during the interview. reparing the list of
likely questions in advance will help you
easily transition from question to question.
)pend time researching the company. &ook
at its site to understand its mission statement,
product offerings, and management team. #
few hours spent researching before your
interview can impress the hiring manager
greatly. 7ead the company's annual report
5often posted on the site6, review theemployee's &inkedIn profiles, and search the
company on ?oogle :ews, to see if they've
been mentioned in the media lately. The
more you know about a company, the more
you'll know how you'll fit in to it.
Ti 32 4irst imressions
1
8/20/2019 Web Service Interview
24/28
"hen meeting someone for the first time, we
instantaneously make our minds about various aspects of
their personality.
repare and plan that first impression long before you
walk in the door. 8ontinue that e(cellent impression in
the days following, and that ob could be yours.Therefore+
• :ever arrive late.
• !se positive body language and turn on your
charm right from the start.
• )witch off your mobile before you step into the
room.
•
&ook fabulous< dress sharp and make sure you look your best.
• )tart the interview with a handshake< give a nice
firm press and then some up and down movement.
• 2etermine to establish a rapport with the
interviewer right from the start.
• #lways let the interviewer finish speaking before
giving your response.• 4(press yourself fluently with clarity and
precision.
Ti 52 The 6"idden7 8ob ,ar#et
1
8/20/2019 Web Service Interview
25/28
%any of us don@t recogni*e that hidden ob
market is a huge one and accounts for A;=
of total ob demand from enterprises. This
means that if you know how to e(ploit a
hidden ob market, you can increase yourchance of getting the ob up to =BBC.
In this section, the author shares his
e(perience and useful tips to e(ploit hidden
ob market.
Here are some sources to get penetrating
into a hidden ob market+ 3riends< 3amily<
4(-coworkers< 7eferral< H7 communities<
3ield communities< )ocial networks such
as 3acebook, TwitterD< &ast recruitment
ads from recruiters< H7 emails of potentialrecruitersD
Ti 92 Do:-t:Yourself -ntervie!in. %ractice
1
8/20/2019 Web Service Interview
26/28
There are a number of ways to prepare
for an interview at home without the
help of a professional career counselor
or coach or a fee-based service.
0ou can practice interviews all by
yourself or recruit friends and family to
assist you.
Ti ;2 $s#
8/20/2019 Web Service Interview
27/28
2o not leave the interview without
ensuring that you know all that you
want to know about the position. nce
the interview is over, your chance to
have important questions answered hasended. #sking questions also can show
that you are interested in the ob. /e
specific with your questions. #sk about
the company and the industry. #void
asking personal questions of the
interviewer and avoid asking questions pertaining to politics, religion and the
like.
Ti /2 4ollo! u and send a than#:you note
1
8/20/2019 Web Service Interview
28/28
3ollowing up after an interview can
help you make a lasting impression and
set you apart from the crowd.
hilip 3arina, 8, a security career
e(pert at %anta )ecurity %anagement7ecruiters, says+ )end both an email as
well as a hard-copy thank-you note,
e(pressing e(citement, qualifications
and further interest in the position.
Invite the hiring manager to contact you
for additional information. This is alsoan e(cellent time to send a strategic
follow-up letter of interest.
1