[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

John Zink

1/8/2003 9:04:00 PM

When accessing a WEB service thru the WSE toolkit is there
a way to get to the http headers after executing the
service ?

The WEB service I am using is adding a HTTP Header that I
will need for subsequent requests.

Here is the client code:
Dim sResponse As String
Dim oservice As New WebReference1.myServices()
Dim clearTextToken As New UsernameToken(txtUserId.Text,
txtPassword.Text, PasswordOption.SendPlainText)

oservice.RequestSoapContext.Security.Tokens.Add
(clearTextToken)

sResponse = oservice.TestAuditService

'NEED TO ACCESS HTTP HEADER ("SecurityToken") here !!!!