only string data is saved from WCF service when using Web Reference instead of Service Reference in VS 2008
Posted on 2011-04-27
I have created a WCF webservice that accepts a collection of an object of made of simple datatypes (int, string datettime)
when i test the service from the client side (a mobile application created in VS2008) using and add a Service Reference, all the data is saved to the database, however if I add a Web Reference, only datatypes of type string are saved. Also no exception is generated.
I am using basicHTTPBinding in the webservice to make it compatible with older client applications.
I cannot use a service reference at the client side because i need to implement a mobile solution on the compact framework 3.5 which is not supported.
Any help please?