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