Re: Properties vs. fields

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: John Saunders (johnwsaundersiii_at_hotmail.com)
Date: 10/01/04

  • Next message: Lalitha: "RE: WebService Client not authenticating through Proxy Server"
    Date: Fri, 1 Oct 2004 19:07:24 -0400
    
    

    "Morten" <morten_skovgaard@hotmail.com> wrote in message
    news:ORwC%23M8pEHA.800@TK2MSFTNGP14.phx.gbl...
    > Hi!
    >
    > I've created a web service that sends an array of custom objects to the
    > client. My object is defined with 2 public properties. When I receive the
    > XML on the client and instantiate my objects these properties are
    > apparently fields (I don't know the difference but this is what I've
    > read). This means that I can't bind the array of objects to a datagrid. Is
    > it possible to convert the fields into properties on the client? If so
    > could someone please provide an example that shows how this is done?

    When you say that the properties become fields, do you mean that the proxy
    class generated from the WSDL only has fields?

    If so, I don't know how to solve that, but I wish I did!
    -----
    John Saunders


  • Next message: Lalitha: "RE: WebService Client not authenticating through Proxy Server"

    Relevant Pages

    • Re: How to display in-memory image?
      ... Instead of using the web service to transfer the byte array back to the ... client, it generates a URL with a uniqueue key and feed that back to the ... > Hello Olav, ...
      (microsoft.public.dotnet.framework.aspnet)
    • Re: Text terminal rendering design
      ... it is a fundamental element of the UI design. ... The management of that array's content by the client is quite a ... The array and the terminal are more tightly tied ... to do that because of the need to map into flavors of terminals. ...
      (comp.object)
    • Re: passing a NULL pointer from vb6 to an ATL method
      ... Is all this necessary if the client and server are in the same ... local/call_as is necessary fior marshaling. ... Dim array as Double ...
      (microsoft.public.vc.atl)
    • RE: To serialize or not to serialize?
      ... SOAP serializers from other platforms don't speak "DataSet". ... So, when the client asks for some data, the web service queries the database ... and then create an "DataToSend" array and finally send that array? ...
      (microsoft.public.dotnet.languages.csharp)
    • Re: passing a NULL pointer from vb6 to an ATL method
      ... Is all this necessary if the client and server are in the same apartment? ... Dim array as Double ...
      (microsoft.public.vc.atl)