Help! Web Service + XML Object Representatino vs. Real Object

Discussion in 'ASP .Net' started by Arthur Mnev, Feb 2, 2004.

  1. Arthur Mnev

    Arthur Mnev Guest

    I'm a little confused about autogenerated proxy stubs for web services.
    Creating the stubs manually works fine; if I attempt to use "Web Reference"
    with automatic class generation the framwork (or VS.2003)
    will generate a proxy class for the web service, that class will contain
    half backed XML representation of classes the service is using (consuming or
    returning). Logically it seems fine at every step except

    Automatic Proxy generator is apparently working under the assumption that
    an application consuming the service has no knowledge of the original object
    and therefore the use of an object generated from XML schema supplied by a
    web service is mandated.

    Does anyone know if there is an attribute or some other way to force proxy
    generator to look for a data type internally before creating a half baked
    class (which by definition is missing all non-public
    functions/attributes/properties).

    Of course there is a manual way (ie. write all ivoke routines manually; it
    is just painful to do when there are 20 web services with 20 functions
    each:))
     
    Arthur Mnev, Feb 2, 2004
    #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. senthil
    Replies:
    5
    Views:
    1,410
    senthil
    Jan 24, 2004
  2. hocho888
    Replies:
    1
    Views:
    661
  3. Michael Averstegge
    Replies:
    0
    Views:
    4,272
    Michael Averstegge
    Jan 10, 2006
  4. Curious Trigger
    Replies:
    2
    Views:
    1,831
    Curious Trigger
    Sep 9, 2006
  5. Leo Violette
    Replies:
    0
    Views:
    1,068
    Leo Violette
    Apr 17, 2009
Loading...

Share This Page