471,072 Members | 1,410 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,072 software developers and data experts.

IXmlSerializable -- Implementing GetSchema()

I wanted to transfer some binary data to my Web Service. There is an
example: Yasser Shohoud -- "Web services and large content in .NET 2.0" @

It seems that the demo code is a part of some Web Service, since I see the
DownloadSong() method has the [WebMethod] attribute. The problem is to
obtain the SongStream schema, which is required to generate the proxy.
Normally, the Web Service schema is generated automatically when I access
the .asmx file. But the example fails because the "SongStream .xsd" file
cannot be found.

I beleive it is because the Web Service description generator requires the
serializable object description, which is missing. How can I get it? Why it
cannot be generated automatically? Notably, an expert in a topic
microsoft.public.dotnet.languages.csharpmicrosoft. public.dotnet.languages.csharp."Example
for IXmlSerializable" (on 5 March 2002) states: "The IXmlSerializable type
supports the .NET Framework infrastructure and is not intended to be used
directly from your code."

Aug 4 '07 #1
0 1693

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Thomas D. | last post: by
1 post views Thread by theburnetts | last post: by
reply views Thread by =?Utf-8?B?Ym9iYnk=?= | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.