iSeller Commerce
iSeller POS Retail
iSeller POS F&B
iSeller POS Express
Crosslight
WebUI
ClientUI
What's New
Download Trial
Web Solution
Mobile Solution
Enterprise Solution
Custom Development
Blog
Community
Latest Development Blogs
ForumPostTopic
Browse By Tag
While attempting to build and execute the Bind to WCF Service tutorial here, I receive the "Unable to communicate with server" error.
It seems the tutorial was copied from the Bind to Web Service tutorial. This section causes an error because the decorators are not correct for a WCF service.
[System.Web.Script.Services.ScriptService] )[WebMethod] public List<customer> GetCustomers() { NorthwindDataContext context = new NorthwindDataContext(); context.DeferredLoadingEnabled = false; context.ObjectTrackingEnabled = false; return context.Customers.ToList(); }
Where should the code exist for a WCF service call? How should the return value be set?
Do you have a working example of loading the webgrid from a webservice?
I apologize for any inconvenience this problem may have caused you.
I have created a simple working example which shows how to connect to a Windows Communication Foundation (WCF) service when using client-side binding mode. Please have the attached sample evaluated on your and let us hear whether this helps or not.
Your feedback will be reported to the Documentation and Resources Department for further investigation and correction.
or
Choose this if you're already a member of Intersoft Community Forum. You can link your OpenID account to your existing Intersoft Social ID.
Choose this if you don't have an Intersoft account yet. Your authenticated OpenID will be automatically linked to your new Intersoft account.
Enter your Wordpress Blogname