Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Post
Register
Login
6
Reply
Consume live WCF service through code behind in c#.net
pooja joshi
May 18 2013 3:22 AM
3.8k
Reply
When I use Live WCF service it show error "There was no endpoint listening at this that could accept the message. This is often caused by an incorrect address or SOAP action.
In code behind,
I wrote
BasicHttpBinding binding = new BasicHttpBinding();
//WSHttpBinding binding = new WSHttpBinding();
//Specify the address to be used for the client.
EndpointAddress address = new EndpointAddress("http://abc.abc.com/googlepasswordservice/googleadservice.svc");
serv = new GoogleAdServiceClient(binding, address);
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
6
)
Next Recommended Forum
Using Live WCF service through code behind in c#.net
behaviorConfiguration = "ServiceBehavior" warning???