Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Web Service Design Question
Message
De
12/03/2008 14:00:47
 
Information générale
Forum:
ASP.NET
Catégorie:
Web Services
Divers
Thread ID:
01299582
Message ID:
01301414
Vues:
21
>>Seriously, all our web service methods have a "ref string Message" parameter that will contain any error messages that the server-side stuff may have encountered.
>
>That was the reason I thought of returning an object. An object would contain any amount of data. But I can
>see how it would be cumbersome to return an object.


There are other issues with returning objects ... they may not be recognized by other platforms that may use the Web Service. A few of our customers access some web services from other platforms and we wanted to be sure to maintain platform independence. That's why we return data as a string that's simply the XML representation of the data (MyDataSet.GetXml(), as I already mentioned).

~~Bonnie
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform