Hi Randy,
I have replied your previous post and stated this is a limitation in .NET
Web service proxy. For some reason, you may not see my reply. I repost it
here. If you have any further question, please feel free to post in the
newgroup.
From:
(MSFT)
Date: Tue, 20 Jan 2004 02:51:32 GMT
Subject: RE: Typed dataset returned from webservice incorrectly defined in
proxy - null value problem
Newsgroups: microsoft.public.dotnet.framework.aspnet.webservic es
Hi Randy,
Thank you for using MSDN Newsgroup. I am Luke and I am review this issue
currently. As I understand, your web service has a typed Dataset. When you
get the schema from proxy or "webservice.asmx?schema=xxxx", your found the
schema in result missed some attributes and namespace.
In fact, the support for XML schema is very limited here. The typical name
space are like:
<xs:schema id="DataSet1"
targetNamespace="http://www.tempuri.org/DataSet1.xsd"
xmlns:mstns="http://www.tempuri.org/DataSet1.xsd"
xmlns="http://www.tempuri.org/DataSet1.xsd"
xmlns

s="http://www.w3.org/2001/XMLSchema"
xmlns:msdata="urn:schemas-microsoft-com

ml-msdata"
attributeFormDefault="qualified" elementFormDefault="qualified" >
Any other namespace will be ignored in the generated proxy. The attribute
in the other namespace is also ignored. This design is based on considering
of compatibility.
I think the work around is to import the xsd file in client project so that
we can get same definition for the type dataset.
Hope this help,
Luke
Microsoft Online Support
Get Secure!
www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)