Re: Passing arguments to Web Service from Win application

From: Vaibhav Modak (vaibhavgm@hotmail.com)
Date: 01/23/03


From: "Vaibhav Modak" <vaibhavgm@hotmail.com>
Date: Thu, 23 Jan 2003 12:32:29 +0530


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

  • Passing arguments to Web Service from Win application
    ... I have a Win app that has a Login form. ... Login form I have 4 textboxes, that capture data from Users - UserName, ... WebService among other params as ParamArray args. ... Create separate object to grab that information from a Shared ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Passing arguments to Web Service from Win application
    ... I have a Win app that has a Login form. ... Login form I have 4 textboxes, that capture data from Users - UserName, ... WebService among other params as ParamArray args. ... Create separate object to grab that information from a Shared ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: Web service reference reverts to old version
    ... Is the webservice serverside an ASP.NET WebService ... Open the IE window on your client app(which consuming the webservice)'s ... Try creating another new separate winform app and add the webservice's ... > webreference in that new app to see whether it can generate the correct new ...
    (microsoft.public.vsnet.general)
  • Re: several responses from same webservice?
    ... The idea of having both apps with a webservice could also be an good ... - A client uses a webservice to notify the server app that it wants ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • Re: Server did not recognize the value of HTTP Header SOAPAction
    ... I created a new test winforms project in 1.1. ... The test app works OK, ... I understand you've developed an ASP.NET webservice ... application is sending an unexpected SoapAction header to the service. ...
    (microsoft.public.dotnet.framework.aspnet.webservices)