[Q]how to make webservice defined type to have [serializable] attribute when generating the wsdl fil

Discussion in 'ASP .Net Web Services' started by carleton wong, Apr 3, 2004.

  1. I define a type in web services code that is used by webmethods as parameters.
    This type with its public data members is included in the generated wsdl file.

    I wonder if we can automatically add [Serializable] attribute to the type
    when the wsdl is generated?

    Any advice is appreciated.

    Carleton
     
    carleton wong, Apr 3, 2004
    #1
    1. Advertising

  2. carleton wong

    Jan Tielens Guest

    Do you want the Serializable attribute to appear in the generated proxy
    classes?

    --
    Greetz,
    Jan
    ________________________
    Read my weblog: http://weblogs.asp.net/jan

    "carleton wong" <> schreef in bericht
    news:...
    > I define a type in web services code that is used by webmethods as

    parameters.
    > This type with its public data members is included in the generated wsdl

    file.
    >
    > I wonder if we can automatically add [Serializable] attribute to the type
    > when the wsdl is generated?
    >
    > Any advice is appreciated.
    >
    > Carleton
     
    Jan Tielens, Apr 5, 2004
    #2
    1. Advertising

  3. Yes. Any idea?
    Thanks
    "Jan Tielens" <> wrote in message news:<>...
    > Do you want the Serializable attribute to appear in the generated proxy
    > classes?
    >
    > --
    > Greetz,
    > Jan
    > ________________________
    > Read my weblog: http://weblogs.asp.net/jan
    >
    > "carleton wong" <> schreef in bericht
    > news:...
    > > I define a type in web services code that is used by webmethods as

    > parameters.
    > > This type with its public data members is included in the generated wsdl

    > file.
    > >
    > > I wonder if we can automatically add [Serializable] attribute to the type
    > > when the wsdl is generated?
    > >
    > > Any advice is appreciated.
    > >
    > > Carleton
     
    carleton wong, Apr 5, 2004
    #3
    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. Andrew
    Replies:
    1
    Views:
    1,228
    Hermit Dave
    Jan 26, 2004
  2. Oodini
    Replies:
    1
    Views:
    1,836
    Keith Thompson
    Sep 27, 2005
  3. Jimmy
    Replies:
    4
    Views:
    660
    Thomas Hawtin
    Aug 8, 2007
  4. Replies:
    2
    Views:
    785
  5. Replies:
    8
    Views:
    3,464
Loading...

Share This Page