Print Page | Close Window

Creating Web Service

Printed From: IdeaBlade
Category: DevForce
Forum Name: DevForce 2010
Forum Discription: For .NET 4.0
URL: http://www.ideablade.com/forum/forum_posts.asp?TID=2269
Printed Date: 03-Feb-2026 at 6:43pm


Topic: Creating Web Service
Posted By: orcities
Subject: Creating Web Service
Date Posted: 27-Oct-2010 at 4:29pm
I am moving up from Classic to 6.0.6.0 WinClient and I will be running in WPF. I have a webservice running on my IIS BOS installation (of classic). I want to have a web service running with this version as well. Unfortunately the new documentation is next to useless with no examples.
 
I have been looking at the deployment docs and they are from a previous version and I can't find anything on web services. In Classic there was docs on how to make a web service. All I know right now is that to make an entity serializable you have to mark it as a [DataContract]. But nothing about creating a web service.
 
Any help or direction would be great.



Replies:
Posted By: kimj
Date Posted: 28-Oct-2010 at 3:23pm
We did not include direct web service support in DevForce 2010, for either publishing a web service as you were doing, or for consuming a web service. 
 
In DevForce Classic, entities and entity graphs were not directly usable from a web service without a bit of help in marking them up for serialization, and in providing a base WebService class with helper methods.  In DevForce 2010 the entities and graphs are easily serialized, so there's no need to provide these features.   You shouldn't have any problems in creating a web service backed by DevForce entities on your own, but if you have additional questions or problems let us know. 


Posted By: kimj
Date Posted: 04-Nov-2010 at 1:21pm

Just in case you were too discouraged by my previous answer ... we will be adding OData support in the next release (6.0.7) to more easily allow you to expose your model using WCF Data Services.  We'll likely provide readonly support to begin with and add update capabilities in a later release.   We'll have more details once we get closer to a release date.




Print Page | Close Window