I have a problem that I am having trouble finding a solution for:
I have a web app using Windows Authentication and one of the forms has a RadComboBox control for which I want to populate by means of a WCF service call.
I've configured everything according to the tutorial instructions, and that works fine. My problem is that I need to pass the user's Windows security credentials to the service call to extract the username of the user.
When I configure the webHttpBinding to use Transport or TransportCredentialsOnly:
the service call fails. Fidder2 shows a Interal Server Error (500) and:
I have a web app using Windows Authentication and one of the forms has a RadComboBox control for which I want to populate by means of a WCF service call.
I've configured everything according to the tutorial instructions, and that works fine. My problem is that I need to pass the user's Windows security credentials to the service call to extract the username of the user.
When I configure the webHttpBinding to use Transport or TransportCredentialsOnly:
<webHttpBinding> <binding name="webHttpBindingConfiguration" maxBufferPoolSize="2147483647" maxBufferSize="2147483647" maxReceivedMessageSize="2147483647"> <readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" /> <security mode="TransportCredentialOnly"> <transport clientCredentialType="Windows"></transport> </security> </binding> </webHttpBinding>the service call fails. Fidder2 shows a Interal Server Error (500) and:
"No Proxy-Authorization Header is present."
"No Authorization Header is present."
I cannot find any guidance for using Windows Authentication for these service calls.
If it is not possible to use Windows Authentication with these calls, can I intercept the RadComboBoxContext object and add an entry with the user's username before the call is made, so I might extract it in the service method?
Your assistance is greatly appreciated.
Charlie