Re: Passing arguments to Web Service from Win application

From: Ice (eikonne@manh.com)
Date: 01/24/03


From: "Ice" <eikonne@manh.com>
Date: Fri, 24 Jan 2003 08:00:29 -0500


Isn't that the "ideal" way to use Web Services?
"Vaibhav Modak" <vaibhavgm@hotmail.com> wrote in message
news:#4XzYvqwCHA.1624@TK2MSFTNGP11...
> Hi Alex,
> As you have mentioned, you are using the Win App to send data to the
Web
> Service.
> One option that you can implement is, instead of using the DLL and
all,
> simply create a web method in the Web Service and throught he proxy, call
> that web method and pass all the parameters that you want.
> Hope this helps solve your query...
> ~Vaibhav
> "Alex Ayzin" <Alex.Ayzin@verizon.net> wrote in message
> news:e6ZOBYbwCHA.968@TK2MSFTNGP12...
> > Hello,
> >
> > Need your help again, guys. I'm not exactly too sure what I need, but
I'll
> > try to word it out. Anyway, I have a Win app that has a Login form. On
> that
> > Login form I have 4 textboxes, that capture data from Users - UserName,
> > Password, ServerName, DataBaseName. That Win app consumes a Web Service
> > running on a WebServer. When Win app issues a call to WebService through
> > proxyObj.WebMethod(), I pass a couple of parameters to it. What I need
to
> do
> > here's capture Logon information from those 4 texboxes and pass that
info
> to
> > WebService among other params as ParamArray args(). What is a best
> solution
> > to implement this?
> > I was thinking like this:
> > 1.Declare a Shared function on the form to capture 4 textboxes .Text
> > properties.
> > 2. Create separate object (class) to grab that information from a Shared
> > function(my managers request that it's a separate object)
> > 3. Compile previous object into .DLL, reference it in WebService and
have
> an
> > access to captured information.
> > But I see a lot of design holes in it; maybe you can come up with a
couple
> > of ideas that might help... Thanks a lot.
> > --Alex
> >
> >
>
>



Relevant Pages

  • Re: Are ASP.NET user interfaces essentially dead now?
    ... it will be tight enough that you can't call SQL ... takes longer to develop ASP.NET interface than a windowsform app ... And communicating with a Web Service is not required the ... > I see Winforms doing the major amount of interface work and leaving the ...
    (microsoft.public.dotnet.framework.aspnet)
  • RE: webservice to expose existing app functionality
    ... and manage your web services, then you need to create a web service project ... applicaiton makes a poor multi-user server because the console application ... benefit is that once you refactor your app in this way, ... >create a webservice without creating a new webservice project within ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • Re: SSL for very simple security need in web service app
    ... There is only a single end point here, a web service ... app that simply takes order info, validates it and applies it to a database. ... this is a common scenario. ... >>> userID ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • ActiveSync and webservice
    ... I have a CF app which communicates with a web service i've written to grab ... I've set the reference to the webservice which is in IIS. ... app to the PPC while it's synced but cannot reach the webservice. ... ActiveSync to allow this communication with the web service? ...
    (microsoft.public.pocketpc.developer)
  • Re: Going crazy trying to understand Web Services behaviour with static member fields, static classe
    ... is loaded for the life of the app domain (ASP.NET can recycle the app domain ... if I launch the exe 2 or more times each exe sees different things ... I think a web service is like a web page, so it lives only for the ...
    (microsoft.public.dotnet.languages.csharp)