Reference.cs file is not Created in Smart Device
-
19 กรกฎาคม 2555 12:20
Hi,
I have a problem the following is its details. I use VS2008 and windows mobile 6.0 .I create a windows mobile project and WCF service (they are in the same solution) for Synchronization Service.When I add a web reference of this WCF in mobile project successfully done. Then it add the Some (disco,xsd,wsdl,Reference.map) But i dont see the Reference.cs .I am also Explore in "View in Object Browser" there is no web service folder is added
Please guide me to over come the problem.
Fathima
ตอบทั้งหมด
-
20 กรกฎาคม 2555 6:50Hi, would you mind provide more details about your project?
Please not forget mark your answer, and unmark your disagreed point.
-
20 กรกฎาคม 2555 8:21
Hi,
I am doing Smart Device Project in VS2008 and i want to Synchronization b/w SQLCE 3.5(.sdf) to SQLServer2008 . So I am using ADO.NET Microsoft Synchronization Service(Device).Application contains One Smart Device Project and WCF Service Library (there are in the Same Solution).Then add the Local Database Cache in the WCF and set the Basic Configuration in Local Database Cache (Server-Client Synchronisation Process) and change the App.config and Hosting the service .For your refernce here attached the snapshot.
Fathima
-
20 กรกฎาคม 2555 16:31ผู้ดูแลWhy do you think there should be "Reference.cs"? Did it not generated proxy code in other C# file which shows up on your screen shot?
This posting is provided "AS IS" with no warranties, and confers no rights.
-
21 กรกฎาคม 2555 8:05No separate Proxy file is generated in my solution , I have to
remove all classes except the first class in reference.cs and adding the two statements :using Microsoft.Synchronization.Data; using Microsoft.Synchronization;
I also have to remove the three generated datasets located under Reference.map
- SyncContext.datasource
- SyncSchema.datasource
- SyncServerInfo.datasource in bases on the References.cs file
Fathima
-
22 กรกฎาคม 2555 17:00ผู้ดูแล
Does it work if you add a reference to some other web service?
For example: http://www.webservicex.net/WeatherForecast.asmx?op=GetWeatherByZipCode
This posting is provided "AS IS" with no warranties, and confers no rights.
-
23 กรกฎาคม 2555 4:46
I am checking this process in another machine its working good but in my machine the same steps are followed the "Reference.cs" file is not generated .Both machine has same Configuration. I dont no why its not working in my machine
Fathima