Groups | Blog | Home
all groups > dotnet web services > may 2008 >

dotnet web services : WCF Client Credentials



Streak
5/12/2008 1:05:00 PM
Hi!
The application I am using has to add some custom client credentials on the
web layer(proxy) and has to verify them on the app layer(wcf).

I tried to create a custom header as follows

--------------
Public Class CustomSoapHeader
Inherits System.ServiceModel.WSHttpBinding
-- added some public properties
end class
--------------------
created a proxy using
----------------
Private _ws As Service1.Service1Client
_ws = New Service1.Service1Client(SetCustomSoapHeader(),
GetServiceEndPointAddress())


Protected Function SetCustomSoapHeader() As CustomSoapHeader
Dim Header As New CustomSoapHeader
' Set header properties
Return Header
End Function
------------------

How do I access the header properties on the app side?
any idea?

Streak
5/13/2008 9:07:01 AM
Hello!
AddThis Social Bookmark Button