Search
Winners

Win Prizes

Social Presence
Twitter Twitter LinkedIn YouTube Google

Like us on Facebook
Advertisements
Top Interviews Author
Thu, 23-Oct-2014 Authors
All Time Authors
Vishal@Neeraj
38680
Rajkatie
20600
Bharathi Cherukuri
18040

Latest members | More ...


(Statistics delayed by 5 minutes)
 Exclusive Interview Question

What are ends, contracts, address and bindings?

Posted on 9/14/2009 | Category: WCF Interview questions | Views: 8020




Answer: -
The above terminologies are the core on which SOA stands. Every service must expose one or more ends by which the service can be available to the client. End consists of three important things where, what and how:-
 

• Contract (What)
Contract is an agreement between two or more parties. It defines the protocol how client should communicate with your service. Technically, it describes parameters and return values for a method.
 


• Address (Where)
An Address indicates where we can find this service. Address is a URL, which points to the location of the service.
 


• Binding (How)
Bindings determine how this end can be accessed. It determines how communications is done. For instance, you expose your service, which can be accessed using SOAP over HTTP or BINARY over TCP. So for each of these communications medium two bindings will be created.
Below figure, show the three main components of end. You can see the stock ticker is the service class, which has an end hosted on www.soa.com with HTTP and TCP binding support and using Stock Ticker interface type.
 



Figure 2: - Endpoint Architecture



Note: - You can also remember the end point by ABC where A stands for Address, B for bindings and C for Contract.
 

Asked In: Many Interviews Alert Moderator 

Found interesting? Add this to:



Comments or Responses

Login to post response