Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to call VFP Web Service from ASP.NET
Message
 
To
06/09/2002 02:32:00
Arnold Lee
K&A International Co.,Ltd
Hong Kong, Hong Kong
General information
Forum:
Visual FoxPro
Category:
Web Services
Miscellaneous
Thread ID:
00697378
Message ID:
00698485
Views:
12
None of the DataSet.ReadXML overloaded method accepts XML String as an argument. Create a StringReader or XMLReader. For example,
StringReader loStream = new StringReader(lcXML);
XmlTextReader loXmlTextReader = new XmlTextReader(loStream);
			
loDataSet.ReadXml(loXmlTextReader,XmlReadMode.ReadSchema);

loStream.Close();
loXmlTextReader.Close();
>Hi,Everybody
>
>I have build a vfP web service which return XML.
>Weh I try to call this web service to fills dataet in ASP.NET I got
>"Invalid URI: The URI scheme is not valid" error,here is my code in ASP.NET:
>
>Dim M_WEBSERVICE As New hk.com.kna.WEBSERVICE() && CREAT NEW WEB SERVICE OBJECT
>Dim M_DATASET As New DataSet() && DATASET OBJECT TO HOLD RESULT
>Dim M_RESULT As String = WEBSERVICE.GETXML("DO SOMTHING") && CALLS VFP WEB SERVICE
>M_DATASET.ReadXml(M_RESULT) && ERROR HERE
>
>I can calls another VFP web service just return a single value.But have no luck on this.
>
>Anyone can enlighting me ?
>
>Thanks
>Arnold
- Jayesh
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform