Is it more or less acceptable (i.e. standard) to create a public web service with these method signatures:
ThisMethodDoesSomething(ComplexType param) ThisMethodDoesSomethingElse(AnotherComplexType param)
Or that:
ThisMethodDoesSomethingAndSomethingElse(string xml)
If the operation being performed depends on an XML string passed to a single all-all-all method? I always left with the first, but my colleague prefers the latter, and I try to weigh the pros and cons of both strategies before we start a new project. What is more acceptable and easier for the public to work on and why?
soap xml parameters web-services web-standards
Brad wesley
source share