Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

XML/Web Service Return Format Issue

Status
Not open for further replies.

bayoujosh

Programmer
Jun 26, 2007
1
US
Hi,

I'm fairly new to XML and Web Services and I'm having some trouble getting started. I'm trying to create a Web Service that reads data from a database and returns it to the calling method. Simple right?

My problem is that I can't seem to get the return format correctly. I've created a .xsd schema to match the format I'd like, but I can't seem to get my DataSet to synch up with the schema. I thought I could simply use the SqlDataAdapter.FillSchema() method to populate my DataSet using the schema I created. But this does not seem to be the case.

Am I way off here? It seems like this should be so simple, but I've been hitting walls for about a week.

Thanks,
BayouJosh
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top