R
RA
Hi
I have an xml schema and I have created a dataset from that schema.
I have a web service that recieve info and sends back an xml information.
I send back the xml using SchemaDataset.WriteXml (...)
A consumer of the web service then call a different method of the web
service which takes an xml string as an input parameter.
I need to load this xml string into the Schemadataset. I do that using the
following:
SchemaDataset.ReadXml (...)
My question is:
I assume that the dataset validated the xml string agianst its schema - well
then where does the dataset gets the schema from?
Here is the info that the web service method gets
<MyDatasetSchema xmlns=http://www.myweb.com/schema/MyDatasetSchema.xsd>
<StoreList>
<StoreId>5</StoreId>
</StoreList>
</MyDatasetSchema >
Thanks
I have an xml schema and I have created a dataset from that schema.
I have a web service that recieve info and sends back an xml information.
I send back the xml using SchemaDataset.WriteXml (...)
A consumer of the web service then call a different method of the web
service which takes an xml string as an input parameter.
I need to load this xml string into the Schemadataset. I do that using the
following:
SchemaDataset.ReadXml (...)
My question is:
I assume that the dataset validated the xml string agianst its schema - well
then where does the dataset gets the schema from?
Here is the info that the web service method gets
<MyDatasetSchema xmlns=http://www.myweb.com/schema/MyDatasetSchema.xsd>
<StoreList>
<StoreId>5</StoreId>
</StoreList>
</MyDatasetSchema >
Thanks