Passing arguments to Web Service from Win application
From: Alex Ayzin (Alex.Ayzin@verizon.net)
Date: 01/22/03
- Next message: Mike Moore [MS]: "Re: Windows Domain Groups in Authorization section sans AD"
- Previous message: Alex Ayzin: "Passing arguments to Web Service from Win application"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: "Alex Ayzin" <Alex.Ayzin@verizon.net> Date: Tue, 21 Jan 2003 20:38:04 -0500
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
- Next message: Mike Moore [MS]: "Re: Windows Domain Groups in Authorization section sans AD"
- Previous message: Alex Ayzin: "Passing arguments to Web Service from Win application"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|