Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Returning XML response before method
Message
De
12/12/2016 09:41:41
 
 
À
12/12/2016 07:47:06
Thomas Ganss (En ligne)
Main Trend
Frankfurt, Allemagne
Information générale
Forum:
ASP.NET
Catégorie:
Web Services
Versions des environnements
Environment:
VB 9.0
OS:
Windows 8.1
Network:
Windows Server 2012
Database:
Visual FoxPro
Application:
Web
Divers
Thread ID:
01644778
Message ID:
01644910
Vues:
22
>Long time ago I had to work with an AXXIS WS, which had specific auth tokens embedded in the header and would barf if not following some additional rules automatically followed if generated via the AXXIS-Java tool chain. Worked, but afterwards had to change twice as AXXIS developed, as their implenentation developed. Too many standards...

There is various ways to hook something in the header, additionnally to what we return in the Web service method response. I have used HTTP headers and cookies, for example. But, nothing is simpler than simply returning the content as is. This makes it easier on the client side for the implementation. I found it also easier to move forward with the Web service support using that approach.

I did also return objects and things like that. I standardized everything to return Xml string and this is what I used.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform