can someone give me a high level overview of what the differences are? why would you choose to use one over the other?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Are you just referring to the arguments expected by the web service? That’s the only difference I can imagine. Something like:
Simple:
Complex:
The main benefit to the former would be that you can test the web method easily in your web browser. Since it takes only simple native types it will render an input form for you to test it. But in a production environment I see little benefit of one over the other, both will produce a WSDL for clients to consume.
I suppose it’s possible that the former of the two may be easier for clients of a different development environment to consume (non .NET code), but I doubt it really makes much of a difference. As long as you’re not using really complex arguments, like a
System.Windows.Formcontrol or something (which I doubt would work anyway).