Click here to Skip to main content
15,893,487 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi
I have hosted my WCF service in IIS7 and i have OAM installed in my server.
I added my service to the project. When call the service method it throws the error.,

The HTTP request is unauthorized with client authentication scheme 'Anonymous'. The authentication header received from the server was 'Negotiate,Basic realm="OAM 11g"'.


what authentication i need to give to the service and my client project.

Please help me.
Posted

1 solution

 
Share this answer
 
Comments
Member 11531733 30-Mar-15 4:25am    
I have tried this but nothing works for me..
Rajat_RJT 30-Mar-15 5:37am    
can you show us how you have configured you web.config?
Member 11531733 31-Mar-15 2:29am    
<!--?xml version="1.0"?-->
configuration>
system.web>
compilation debug="true" targetframework="4.0">
/system.web>
system.servicemodel>
behaviors>
servicebehaviors>
behavior name="metadataBehavior">
servicetimeouts transactiontimeout="00:10:00">
/servicetimeouts>
servicemetadata httpgetenabled="true">
/servicemetadata>
servicedebug includeexceptiondetailinfaults="true">/servicedebug>
servicethrottling maxconcurrentcalls="1000" maxconcurrentinstances="1000" maxconcurrentsessions="1000">
/servicethrottling>
/behavior>
/servicebehaviors>
/behaviors>
services>
service behaviorconfiguration="metadataBehavior" name="SyncFalconService.SyncFalconService">
endpoint address="" binding="wsHttpBinding" contract="SyncFalconService.ISyncFalconService">
endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange">
/service>
/services>
<!--<servicehostingenvironment multiplesitebindingsenabled="true" minfreememorypercentagetoactivateservice="0">-->

<system.webserver>
modules runallmanagedmodulesforallrequests="true">
defaultdocument>
files>
add value="SyncFalconService.svc">
/files>
/defaultdocument>
/system.webserver>
/configuration>

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900