2

we have a relational database with some data and we need to offer the content of the database via XML web services. We also have to enable users to get parts of the XML representation using XPath (also later there may be a need to modify data indirectly using XML representation of the data with XQuery). Is there a simple way to achieve this in C#? The user will be known XML schema of the data.

Keywords for web search also appreciated.

2
  • What does it mean to "accept an answer"? Commented May 13, 2010 at 12:12
  • There is a little tick mark below the voting controls on answers to questions you ask. When you get an answer to your question that works for you, you accept it by clicking that tick. Commented May 13, 2010 at 22:28

2 Answers 2

2

Read up on OData ;) A lot better than bad web services. Full tooling support in .NET (LINQ integrated) it is a semantical way to expose data via intelligent web services.

Sign up to request clarification or add additional context in comments.

Comments

0

There are a few ways I discovered, although I couldn't find much data.

One is to use an SQL query which returns an XML, the other is to use DataSet class with some of it XML processing possibilities. DataSet also supports XPath queries.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.