Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Read XML to DataSet from VFP DLL
Message
De
18/03/2007 15:21:00
 
 
À
18/03/2007 12:50:23
Information générale
Forum:
ASP.NET
Catégorie:
XML
Divers
Thread ID:
01205228
Message ID:
01205245
Vues:
24
Joao,

I usually use a StringReader, as shown below. I don't know if this will solve your problem or not, but I suggest that you try it. Are you sure the cXML you get back from the Web Service call is well-formed XML?
Dim oSR As New System.IO.StringReader(cXML)
Dim oDS As New DataSet
oDS.ReadXml(oSR)
>Hi all
>
>Hi have a .NET WebService that call a VFP COM/DLL that returns a XML string, it works OK, but when i try to read the XML in NET an error appear,
>
>   Dim Service As jbinfWebS = New jbinfWebS()
>   cXML = Service.Get_FichasTecnicasPorCli("00100")
>
>  Dim myDataSet As New DataSet()
>  myDataSet.ReadXml(cXML)  *** Error Here *** URI invalid. String URI is too long (translate from portuguese version)
>
>
>Any way to read this XML string to DataSet?
>
>Thanks
>
>João Batista
David Stevenson, MCSD, 2-time VFP MVP / St. Petersburg, FL USA / david@topstrategies.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform