Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Respecting a specific XSD file
Message
 
À
13/07/2002 01:22:33
Information générale
Forum:
Visual FoxPro
Catégorie:
Web Services
Divers
Thread ID:
00677672
Message ID:
00678441
Vues:
20
>Ok, this is all good but is there a way from a VFP Web Service to respond to the need of that client. Basically, the first parameter received is the XSD file and what I will return need to fit within that specific criteria.
>
>My understand so far is that I will have to read that XSD file line by line and define my XML string result line by line as well in order to respect that schema. Or, is there a better way?

What is in the payload? XSD is just a schema. It doesn't guarantee that there's a parser that knows what to do with it. Some parsers are smarter than others - for example, the VS.NET parser for DataSets can take almost any xsd compliant schema and turn it into a DataSet. But the VFP CURSORTOXML parser on the other hand doesn't know how to deal with anything than the very specific structure that VFP uses.

Bottom line is this: If you have people sending you custom schemas to figure out how to deal with the data chances are pretty good that you'll have to hand parse.
+++ Rick ---

West Wind Technologies
Maui, Hawaii

west-wind.com/
West Wind Message Board
Rick's Web Log
Markdown Monster
---
Making waves on the Web

Where do you want to surf today?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform