IXmlSerializable -- Implementing GetSchema()

Discussion in 'ASP .Net Web Services' started by valentin tihomirov, Aug 4, 2007.

  1. 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" @
    http://blogs.msdn.com/yassers/archive/2004/11/10/255212.aspx

    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."

    Thanks
     
    valentin tihomirov, Aug 4, 2007
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?Ym9iYnk=?=

    IXmlSerializable

    =?Utf-8?B?Ym9iYnk=?=, Sep 28, 2007, in forum: ASP .Net
    Replies:
    2
    Views:
    475
    Teemu Keiski
    Sep 29, 2007
  2. Thomas D.

    IXmlSerializable: return type & difference IE / webservice

    Thomas D., Sep 1, 2005, in forum: ASP .Net Web Services
    Replies:
    1
    Views:
    214
    Thomas D.
    Sep 1, 2005
  3. Replies:
    0
    Views:
    310
  4. Frederik Vanderhaegen

    webservice and IXMLSerializable

    Frederik Vanderhaegen, Oct 31, 2006, in forum: ASP .Net Web Services
    Replies:
    0
    Views:
    176
    Frederik Vanderhaegen
    Oct 31, 2006
  5. Jeremy
    Replies:
    3
    Views:
    326
    John Saunders [MVP]
    Jul 19, 2007
Loading...

Share This Page