I'm not too sure about this, since I'm still experimenting with web services myself. But I think you'll need to add a THTTPRIO component on your client form. This has a HTTPWebNode property with several sub-properties. There you can provide information like username and password, but also redirect through some proxy.
Then, when getting the SOAP object through the Get-function, you pass this component as one of the parameters. That way, it will know what settings to use. You might also modify the generated code instead. That way you wouldn't have to add a component to your form. However, you would be adjusting auto-generated code which could be risky. You would lose this if you import the WSDL again... (Which you might want to do when the specifications change.) With kind regards, X Katja Bergman. --- In [email protected], "Horia" <[EMAIL PROTECTED]> wrote: > I'm trying to consume a web service from a Delphi 7 application. > > I have added the WS with File/New/Other/WSDL Importer, and was fine, except > that when using a WS method, a (standard IE) window pops up and ask the user > name and password. > > I know the User and Password, but I would like to let the program to pass > these parameters, not the user. > > How can it be done? > > Horia ------------------------ Yahoo! Groups Sponsor --------------------~--> <font face=arial size=-1><a href="http://us.ard.yahoo.com/SIG=12hhmgjpu/M=362329.6886308.7839368.1510227/D=groups/S=1705115362:TM/Y=YAHOO/EXP=1123757467/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992 ">Fair play? Video games influencing politics. Click and talk back!</a>.</font> --------------------------------------------------------------------~-> ----------------------------------------------------- Home page: http://groups.yahoo.com/group/delphi-en/ To unsubscribe: [EMAIL PROTECTED] Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/delphi-en/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

