Click here to Skip to main content
15,311,385 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have created a WCF Service Library Project using wsHttpBinding and successfully running service


WCF Client Code:

Added WCFservice in client (windows Application) application using "Add Service Reference" and created a proxy for it in a button

private void button1_Click(object sender, EventArgs e)
            ServiceReference1.Service1Client s = new WinFormWSHttp.ServiceReference1.Service1Client() ;


Its successfully running in a same system when i self host the WCF service and run a client. But not running when my wcf client is on different system, its throwing an exception

SOAP security negotiation with 'http://...:9001/MyService' for target 'http://...:9001/MyService' failed. See inner exception for more details.

whats the problm with my code, please help me out
Updated 18-Oct-11 0:03am

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