V
Victor Espina
Hi, this is my scenario:
a) I have a Windows Service running a WCF host that is created this
way:
ServiceHost wcfHost = new
ServiceHost(typeof(serverProxy), new Uri[]{new Uri("http://localhost:
1967")});
wcfHost.AddServiceEndpoint(typeof(ILicensingServer),
new BasicHttpBinding(),
"bbls");
b) I have a desktop app that connect to this WCF host using this code:
// Define an http channel to the licensing server
ChannelFactory<ILicensingServer> httpFactory =
new ChannelFactory<ILicensingServer>(
new BasicHttpBinding(),
new EndpointAddress(serverUrl));
// Create the http channel
server = httpFactory.CreateChannel();
c) I have a Windows Mobile app that needs to connect to this WCF host,
but I just realized that System.ServiceModel in .NET CF 3.5 does not
implements ChannelFactory class.
Is there any way for my WM app to connect to my WCF host ?
Regards
Victor Espina
a) I have a Windows Service running a WCF host that is created this
way:
ServiceHost wcfHost = new
ServiceHost(typeof(serverProxy), new Uri[]{new Uri("http://localhost:
1967")});
wcfHost.AddServiceEndpoint(typeof(ILicensingServer),
new BasicHttpBinding(),
"bbls");
b) I have a desktop app that connect to this WCF host using this code:
// Define an http channel to the licensing server
ChannelFactory<ILicensingServer> httpFactory =
new ChannelFactory<ILicensingServer>(
new BasicHttpBinding(),
new EndpointAddress(serverUrl));
// Create the http channel
server = httpFactory.CreateChannel();
c) I have a Windows Mobile app that needs to connect to this WCF host,
but I just realized that System.ServiceModel in .NET CF 3.5 does not
implements ChannelFactory class.
Is there any way for my WM app to connect to my WCF host ?
Regards
Victor Espina