configure pocket -> www.mysite.com (server) -> local PC (wcf)

Oct 23, 2009 at 9:12 PM

Help! I'm trying to configure a connection pocket -> www.mysite.com (server) -> local PC (wcf)? basic work, but
   GZip not want. On the server package comes with the address "www.mysite.com"? can someone help with the settings?

Coordinator
Oct 23, 2009 at 9:28 PM

Hi Ukrandruha,

Sorry, but I'm not able to understand what is exactly your problem. You have a pocket pc connected to internet, haven't you? on the other  hand, the wcf is hosted on www.mysite.com address and such IIS. Is it right? has your pocket a full functional internet connection?

Please detail your escenario in order to drop you any idea.

Thanks,

 

Oct 24, 2009 at 5:36 AM
Edited Oct 25, 2009 at 1:17 PM
Hi jtorres!
Not quite. Pocket ->connected to ->mobile.mysite.com (172.168.20.30) then it  -> proxing-> to the local computer  (192.168.20.30) there running WCF.
 
var endPoint = new EndpointAddress("htpp://mobile.mysite.com");
var s = new ServiceClient(endPoint, BindingType.Compressed);
 ... 
var  res = s.Echo(((SqlCeClientSyncProvider) agent.LocalProvider).ClientId.ToString());
Server responds: The message could not be processed on the receiving end because of inconsistencies in AddressFilter EndpointDispatcher
Help me!!!
 
Oct 26, 2009 at 11:26 AM
Edited Oct 26, 2009 at 11:49 AM

Problem solved!!!! Added "AddressFilterMode = AddressFilterMode.Any"

ServiceBehavior(InstanceContextMode = InstanceContextMode.PerCall, AddressFilterMode = AddressFilterMode.Any)]

public class SyncService : ISyncService ....

Thanks!!!