Friday, March 07, 2008

WCF client says 'No Corresponding Start Element Open'

Once again I'll just make a comment about this error. When using Dataset across a WCF service the service call may fail with the error "No Corresponding Start Element Open". The error makes perfect sense once you know the answer, but to the uninitiated it might be perplexing.

The problem is that the return value of the service call is a Dataset. If you return null from the service call then the client will see this error. The answer, well it depends on what you want to achieve. But probably just return an empty dataset and then test the contents on the client (which should be done anyway for good coding practice).

Instant Development: Frustrating Error: No Corresponding Start Element Open

kick it on DotNetKicks.com Shout it

3 comments:

Anonymous said...

thanks, helpful.

lee woo said...

What you wear is how you present yourself to the world, especially today when human contacts go so
fast. Fashion is instant language. See the link below for more info.


#instant
www.ufgop.org

Silvia Jacinto said...

Reading your article is such a privilege. It does inspire me,
I hope that you can share more positive thoughts. Visit my site too.
The link is posted below.

n8fan.net

www.n8fan.net