What is difference between Top Down and Bottom Up approach in SOAP Web Services?

Technology CommunityCategory: SOAWhat is difference between Top Down and Bottom Up approach in SOAP Web Services?
VietMX Staff asked 3 years ago

In Top Down approach first WSDL document is created to establish the contract between web service and client and then code is written, it’s also termed as contract first approach. This is hard to implement because classes need to be written to confirm the contract established in WSDL. Benefit of this approach is that both client and server code can be written in parallel.

In Bottom Up approach, first web service code is written and then WSDL is generated. It’s also termed as contract last approach. This approach is easy to implement because WSDL is generated based on code. In this approach client code have to wait for WSDL from server side to start their work.