I'm working on a Custom Start Page for VS 2010. For those who don't know, when you run a custom start page in development, VS opens an experimental instance of VS 2010 so you can try it.
I have a service reference to a WCF service in the app. When I run it in other applications I can call the service fine.
In this app, which is opening in an experimental instance, when I do
FalconServiceClient _serviceClient = new FalconServiceClient();
I get an exception:
Could not find default endpoint element that references contract 'FalconServiceRef.IFalconService'in the ServiceModel client configuration section. This might be because no configuration file was found for your application, or because no endpoint element matching this contract could be found in the client element.
I have copied the app.config to the instance's bin folder. Doesn't help.
My situation is following: I have a bunch of XSD files as input only. And I know how WCF service contract should look like:
public interface ICustomService
Message CustomAction(Message msg);
Message is SOAP message.
I need to create WSDL file based on XSD files. After that I should use that WSDL file and existing XSD files to create WCF service that should be in the form above.
The important thing is - everything should be done dynamically (programmatically). It means XSD files should be added to the process of WSDL creation also programmatically, created WSDL file should be used to invoke WCF service also programmatically...
So, if someone can write some code as putting me to right direction I'll be more than thankful.
I am a .NET developer, Please help me for the scenario mentioned below.
I am having three machines (these three machines are having internet connections),lets assume client1, client2 and server. client1 will pass some data to server and server will push the data to client2. The problem is, client1 and client2 are behind proxy but server will have public IP means standalone machine.
One workaround is, I can host a WCF service on server machine and client2 will keep pooling the server. but that I don't want. I want server should push the data to client2.
Any suggestion is very much appreciated.
Thanks / Deepak
Last Visit: 31-Dec-99 19:00 Last Update: 31-Mar-15 12:06