Solved

WCF - Disable security

Posted on 2008-06-17
6
836 Views
Last Modified: 2013-11-07
How do you disable security in WCF.  I have tried to disable it but am still getting "caller not authented by the service"

My binding looks like this
  <basicHttpBinding>
        <binding name="basicHttpBinding" closeTimeout="00:30:00" openTimeout="00:30:00"
          receiveTimeout="00:30:00" sendTimeout="00:30:00" maxBufferSize="655360"
          maxReceivedMessageSize="655360">
          <readerQuotas maxArrayLength="10000" />
          <security mode="None">
            <transport clientCredentialType="None" />
            </security>
        </binding>
      </basicHttpBinding>
0
Comment
Question by:Kevin Robinson
  • 3
  • 3
6 Comments
 
LVL 29

Expert Comment

by:Gautham Janardhan
ID: 21801885
have u changed @ both ends client and server ?
0
 
LVL 3

Author Comment

by:Kevin Robinson
ID: 21801890
Yep.  Well I updated my service reference.
0
 
LVL 29

Accepted Solution

by:
Gautham Janardhan earned 500 total points
ID: 21801908
the same shud be done @ the server side also... if server is expecting some sort of security then u will get this error...
0
Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

 
LVL 3

Author Comment

by:Kevin Robinson
ID: 21801995
I have manually checked through the Client and server side and security is turned off.
0
 
LVL 3

Author Comment

by:Kevin Robinson
ID: 21802390
Can I manually create the service references?  Sometimes they dont always map correctly to the service.
0
 
LVL 29

Expert Comment

by:Gautham Janardhan
ID: 21809994
u can create  a clinet class tusing the svcutil tool and then use this to acesst the service..
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

A basic question.. “What is the Garbage Collector?” The usual answer given back: “Garbage collector is a background thread run by the CLR for freeing up the memory space used by the objects which are no longer used by the program.” I wondered …
For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question