This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
The moose likes Web Services and the fly likes WSDL AND API Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "WSDL AND API" Watch "WSDL AND API" New topic


Sam Ruben

Joined: Feb 07, 2012
Posts: 9
what is api and wsdl? how they are related?

whats the purpose of using it?
Roger Sterling
Ranch Hand

Joined: Apr 06, 2012
Posts: 426

They perform much the same function. A WSDL (Web Service Definition Language file) is a file or set of files that describe a contract between a producer of a Web Service and a consumer of a Web Service. An API (Application Programming Interface) is a contract between a producer and consumer of a local software library. API is limited to the local system. WSDL can be used locally or remotely.
I agree. Here's the link:
subject: WSDL AND API
It's not a secret anymore!