You should look in the generated proxy for the service in VS.NET... There you can override the GetWebRequest method, and use request.Headers.Add method in order to add headers before returning the request.
-pc On Thu, 7 Oct 2004 12:52:44 +0800 (CST), ïffffffffffd3ïffffffffffc2 ïffffffffffccïffffffffffc 6?= <[EMAIL PROTECTED]> wrote: > Hi everyone. > I set the username and password of > org.apache.axis.client.Stub to auditing a client > connection of webservice built by Axis. It is work in > java. Following is my code: > IssueWsSoapBindingStub binding = null; > binding = (IssueWsSoapBindingStub)new > IssueWSServiceLocator().getissueWs(); > binding.setUsername("admin"); > binding.setPassword("admin"); > > But I don't know how to send the usename and password > from C# client to the Web Services. > > How to do it? > > _________________________________________________________ > Do You Yahoo!? > 150äæMP3ççæïåæéåéäæå > http://cn.rd.yahoo.com/mail_cn/tag/yisou/music/*http://music.yisou.com/ > çåææåæåæïæéçåãèååéå > http://cn.rd.yahoo.com/mail_cn/tag/yisou/image/*http://image.yisou.com > 1Gåæ1000åïéèçéèåæåï > http://cn.rd.yahoo.com/mail_cn/tag/1g/*http://cn.mail.yahoo.com/event/mail_1g/ >