return type of a web method
hello forum,
I am developing a Web Service in C# with Visual Studio .NET.
I want to define a web method which returns a type (for example, a struct) if the operation is successful and returns another different type (another struct) if the operation fails.
I dont Know how to do this with Web Services. Could you help me?
Thanks in advance.