Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6374011
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T01:26:09+00:00 2026-05-25T01:26:09+00:00

Considering a server that expose a service through WCF. One of the OperationContract return

  • 0

Considering a server that expose a service through WCF. One of the OperationContract return a typed DataSet called TraceDataSet that contains a snapshot of the trace on the server.

When the dataset is returned, the ReadXml that is occurring inside the custom visual studio tool generated file, in the method ReadXmlSerializable throws a

Undefined data type: ‘xs:string’.

I added WCF trace on the client and server, but the WCF communication works perfectly.

I did some research, but nothing is conclusive and I also get 404 errors from the MSDN forums.

I checked the stream behind the XmlReader and it does contains the declaration of the xmlns:xs namespace, so I’m a bit confused there.

If I serialize the DataSet to a file on the server (which run locally for debugging purpose) and I read that file from the client, it does work, so I’m suspecting that something is occurring through the WCF communication even if it does not fail.

The typed DataSet is declared in a shared assembly that is reference by both the client and the server. We are not using a regenerated DataSet created by a proxy in the /References folder.

We never had any problem concerning the trace, until recently, and sadly, we can’t point to the change that caused this feature to break.

Does anybody have an idea why ReadXml can’t find the xs:string data type?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T01:26:10+00:00Added an answer on May 25, 2026 at 1:26 am

    I search in forums and other site, i found that it seems this is a bug in the serialization in some circonstance in System.Data. I dont know how to fix this bug, but i found a work arround :

    Put the Dataset in a string ( with getXml() on the traceData), and send it to the client. The client received the string and rebuild the dataset. This is not a fix, but it a workaround and it work for me.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We are considering adding another server to development life cycle, so that we can
I was considering using Windows Server as the OS for my main .NET development
Our company is considering upgrading our SQL server. At this point, would it be
The client connects to the server using GenuineChannels (we are considering switching to DotNetRemoting).
I'm considering dropping an index from a table in a SQL Server 2005 instance.
My company is considering changing continuous integration servers (I won't say which one we
Considering this code, can I be absolutely sure that the finally block always executes,
I'm building a server that allows clients to store objects. Those objects are fully
I'm trying to build a server that will handle many concurrent connections to iPhone
I need to have an android device act as a wifi server/hub that will

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.