Simple(?) web service

Ask a Question related to ASP.NET Web Services, Design and Development.

  1. #1

    Default Simple(?) web service

    Hello:

    I have written a simple web service which just is NOT deploying to
    client.

    The web service is an sp, and ws returns a data set.

    On the client project, I have added a reference to this web service. How
    to retrieve this dataset set into the client project? I have set up a
    datagrid but the nothing seems to work.

    Thanks for your help in advance.

    Vani

    *** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
    VK Guest

  2. Similar Questions and Discussions

    1. Can't debug simple C# Web Service
      First, a confession. I am developing with an old version of VS .NET: VS .NET 2002 (7.0.9955). I am trying to start a *very* simple Web Service...
    2. Simple Web Service Failing
      Hey All, I haven't really touched Web Services on CF since I first played with them when 6.0 came out. I am trying to generate a very BASIC...
    3. Best Way to store simple data with web service?
      Hi all, I'm starting up on a web service project and I think I've got the basics down. However, is there a simple way to store a small amount of...
    4. Internal Server Error from Simple Web Service
      I have a simple web service which accepts two integers as input, then adds them up and returns the sum as output. This is written in VB.Net. I...
    5. sample of using simple Web-Service (.NET) via flash 2004.
      Hello, In Macromedia Flash 2004 proffessional there is a component : WebServiceConnector. I need a tiny sample of use of Web-Service (.NET) via...
  3. #2

    Default Re: Simple(?) web service

    Hi,
    if ws returns a DataSet, from client's perpective, IT IS THE DataSet itself,
    so treat it as ds, retrieving rows, fields and whatever you do with a ds,
    icluded being DataSource for whatever control. However, AFAIK, each call to
    DS means a call to WebService; so I create my own ds in the client app,
    serialize webservice (writing XML) and then load my local ds (reading XML)
    and every subsequent op is done via this local ds. Does this make sense?

    "VK" <vk@vk.com> ha scritto nel messaggio
    news:O5HsyXcdFHA.3932@TK2MSFTNGP12.phx.gbl...
    > Hello:
    >
    > I have written a simple web service which just is NOT deploying to
    > client.
    >
    > The web service is an sp, and ws returns a data set.
    >
    > On the client project, I have added a reference to this web service. How
    > to retrieve this dataset set into the client project? I have set up a
    > datagrid but the nothing seems to work.
    >
    > Thanks for your help in advance.
    >
    > Vani
    >
    > *** Sent via Developersdex [url]http://www.developersdex.com[/url] ***

    Saverio Tedeschi Guest

  4. #3

    Default Re: Simple(?) web service

    "Saverio Tedeschi" <tesis@tesis.org> wrote in
    news:uFh#PbedFHA.2128@TK2MSFTNGP15.phx.gbl:
    > if ws returns a DataSet, from client's perpective, IT IS THE DataSet
    > itself, so treat it as ds, retrieving rows, fields and whatever you do
    > with a ds, icluded being DataSource for whatever control. However,
    > AFAIK, each call to DS means a call to WebService; so I create my own
    No. The DS is serialized, sent across and a local instance created. Any calls to the dataset are
    local.
    > ds in the client app, serialize webservice (writing XML) and then load
    > my local ds (reading XML) and every subsequent op is done via this
    > local ds. Does this make sense?
    You are just copying and taking a lot more code to do what webservices already do for you.


    --
    Chad Z. Hower (a.k.a. Kudzu) - [url]http://www.hower.org/Kudzu/[/url]
    "Programming is an art form that fights back"

    Blog: [url]http://blogs.atozed.com/kudzu[/url]
    Chad Z. Hower aka Kudzu Guest

  5. #4

    Default Re: Simple(?) web service

    Thanks, Kudzu, 4 your reply.
    Actually, I need explicit serialization in case clients can't get connected,
    so they can inquiry previous result sets. However, now I reload ds only if
    disconnected, and all goes much faster. Have a nice day!

    "Chad Z. Hower aka Kudzu" <cpub@hower.org> ha scritto nel messaggio
    news:Xns967C87884FC1Acpubhowerorg@127.0.0.1...
    > "Saverio Tedeschi" <tesis@tesis.org> wrote in
    > news:uFh#PbedFHA.2128@TK2MSFTNGP15.phx.gbl:
    >> if ws returns a DataSet, from client's perpective, IT IS THE DataSet
    >> itself, so treat it as ds, retrieving rows, fields and whatever you do
    >> with a ds, icluded being DataSource for whatever control. However,
    >> AFAIK, each call to DS means a call to WebService; so I create my own
    >
    > No. The DS is serialized, sent across and a local instance created. Any
    > calls to the dataset are
    > local.
    >
    >> ds in the client app, serialize webservice (writing XML) and then load
    >> my local ds (reading XML) and every subsequent op is done via this
    >> local ds. Does this make sense?
    >
    > You are just copying and taking a lot more code to do what webservices
    > already do for you.
    >
    >
    > --
    > Chad Z. Hower (a.k.a. Kudzu) - [url]http://www.hower.org/Kudzu/[/url]
    > "Programming is an art form that fights back"
    >
    > Blog: [url]http://blogs.atozed.com/kudzu[/url]

    Saverio Tedeschi Guest

  6. #5

    Default Re: Simple(?) web service

    "Saverio Tedeschi" <tesis@tesis.org> wrote in
    news:u#oGGpldFHA.3376@TK2MSFTNGP10.phx.gbl:
    > Actually, I need explicit serialization in case clients can't get
    > connected, so they can inquiry previous result sets. However, now I
    > reload ds only if disconnected, and all goes much faster. Have a nice
    > day!
    Even then you can tell the datasets to serialize on their own. There are some really easy examples
    here:
    [url]http://tinyurl.com/cbbg2[/url]


    --
    Chad Z. Hower (a.k.a. Kudzu) - [url]http://www.hower.org/Kudzu/[/url]
    "Programming is an art form that fights back"

    Blog: [url]http://blogs.atozed.com/kudzu[/url]
    Chad Z. Hower aka Kudzu Guest

  7. #6

    Default Re: Simple(?) web service

    Thank you, Kudzu, for your advice;
    however, I wasn't able to find a ref; where should I search in?

    "Chad Z. Hower aka Kudzu" <cpub@hower.org> ha scritto nel messaggio
    news:Xns967CA9A1ED6Ecpubhowerorg@127.0.0.1...
    > "Saverio Tedeschi" <tesis@tesis.org> wrote in
    > news:u#oGGpldFHA.3376@TK2MSFTNGP10.phx.gbl:
    >> Actually, I need explicit serialization in case clients can't get
    >> connected, so they can inquiry previous result sets. However, now I
    >> reload ds only if disconnected, and all goes much faster. Have a nice
    >> day!
    >
    > Even then you can tell the datasets to serialize on their own. There are
    > some really easy examples
    > here:
    > [url]http://tinyurl.com/cbbg2[/url]
    >
    >
    > --
    > Chad Z. Hower (a.k.a. Kudzu) - [url]http://www.hower.org/Kudzu/[/url]
    > "Programming is an art form that fights back"
    >
    > Blog: [url]http://blogs.atozed.com/kudzu[/url]

    Saverio Tedeschi Guest

  8. #7

    Default Re: Simple(?) web service

    "Saverio Tedeschi" <tesis@tesis.org> wrote in
    news:e3yNJaodFHA.3620@TK2MSFTNGP09.phx.gbl:
    > Thank you, Kudzu, for your advice;
    > however, I wasn't able to find a ref; where should I search in?
    See the parts where it saves the datasets, etc... You can download the projects and play with them
    too. It puts htem in a file, but you can do same to a stream.

    [url]http://tinyurl.com/cbbg2[/url]


    --
    Chad Z. Hower (a.k.a. Kudzu) - [url]http://www.hower.org/Kudzu/[/url]
    "Programming is an art form that fights back"

    Blog: [url]http://blogs.atozed.com/kudzu[/url]
    Chad Z. Hower aka Kudzu Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139