Reputation: 153
I know that there are two ways of creating web services:
For me, the first method looks complex and second looks quite easy relatively. If so, I want to know
Upvotes: 1
Views: 358
Reputation: 170489
Sometimes you need to declare the interface upfront before you have any implementation - for example you might have to negotiate it with the customer so that he can start coding against it ASAP. Then you start with WSDL.
If you don't need to have a WSDL representation as early as possible you can follow whatever procedure is convenient for you. For example, if you develop an ASP.NET web service it's quite convenient to just write C# code and have the runtime to generate the WSDL on consumer request.
Upvotes: 1