Excellent! Thanks
Horia _____ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Katja Bergman Sent: Thursday, August 11, 2005 4:50 AM To: [email protected] Subject: [delphi-en] Re: User and Password in Web Services 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 ----------------------------------------------------- Home page: http://groups.yahoo.com/group/delphi-en/ To unsubscribe: [EMAIL PROTECTED] SPONSORED LINKS C <http://groups.yahoo.com/gads?t=ms&k=C+programming+language&w1=C+programming +language&w2=Computer+programming+languages&w3=The+c+programming+language&w4 =C+++programming+language&w5=List+of+programming+languages&w6=Delphi+program mer&c=6&s=184&.sig=LmB2di4FcYmWuZp0shJnNQ> programming language Computer <http://groups.yahoo.com/gads?t=ms&k=Computer+programming+languages&w1=C+pro gramming+language&w2=Computer+programming+languages&w3=The+c+programming+lan guage&w4=C+++programming+language&w5=List+of+programming+languages&w6=Delphi +programmer&c=6&s=184&.sig=V1W6zeXWRB5aPckCzpGn7g> programming languages The <http://groups.yahoo.com/gads?t=ms&k=The+c+programming+language&w1=C+program ming+language&w2=Computer+programming+languages&w3=The+c+programming+languag e&w4=C+++programming+language&w5=List+of+programming+languages&w6=Delphi+pro grammer&c=6&s=184&.sig=sF05g5hAk_PFYg_GHTdoDw> c programming language C <http://groups.yahoo.com/gads?t=ms&k=C+++programming+language&w1=C+programmi ng+language&w2=Computer+programming+languages&w3=The+c+programming+language& w4=C+++programming+language&w5=List+of+programming+languages&w6=Delphi+progr ammer&c=6&s=184&.sig=ozakmf9uST51B-nw36av8A> programming language List <http://groups.yahoo.com/gads?t=ms&k=List+of+programming+languages&w1=C+prog ramming+language&w2=Computer+programming+languages&w3=The+c+programming+lang uage&w4=C+++programming+language&w5=List+of+programming+languages&w6=Delphi+ programmer&c=6&s=184&.sig=nlAu1WndOIvIj2gUxPWE4A> of programming languages Delphi <http://groups.yahoo.com/gads?t=ms&k=Delphi+programmer&w1=C+programming+lang uage&w2=Computer+programming+languages&w3=The+c+programming+language&w4=C+++ programming+language&w5=List+of+programming+languages&w6=Delphi+programmer&c =6&s=184&.sig=gwVtU7lT_-8Af3_93Nz4Lw> programmer _____ YAHOO! GROUPS LINKS * Visit your group "delphi-en <http://groups.yahoo.com/group/delphi-en> " on the web. * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> * Your use of Yahoo! Groups is subject to the Yahoo! <http://docs.yahoo.com/info/terms/> Terms of Service. _____ [Non-text portions of this message have been removed] ------------------------ Yahoo! Groups Sponsor --------------------~--> <font face=arial size=-1><a href="http://us.ard.yahoo.com/SIG=12he39qlg/M=362131.6882499.7825260.1510227/D=groups/S=1705115362:TM/Y=YAHOO/EXP=1123778486/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org ">Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life - brought to you by One Economy</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/

