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 Shout it


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.


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.

Jorge Frew said...

Aw, this was a really nice post. In idea I wish to put in writing like this additionally – taking time and precise effort to make an excellent article… but what can I say… I procrastinate alot and under no circumstances seem to get something done. casino play