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.
I have XSD and WSDL files as input and should create Soap messages and extract Soap body from them. I know how to do that in VS2008 using code-first approach when I write interfaces and classes and use "Add Service Reference..." option. But, our requirement is not to use all these nice things because we get XSD and WSDL files and should create Soap message in some another way. My colleague tried to use svcutil.exe but he found it made the errors. So, can we do that by using some another tool or programmatically?
Why is common sense not common?
Never argue with an idiot. They will drag you down to their level where they are an expert.
Sometimes it takes a lot of work to be lazy
Please stand in front of my pistol, smile and wait for the flash - JSOP 2012
Hello - I've imported a certificate into my "Trusted Root Certification Authority Store." The certificate icon has a tiny key image in the upper left-hand corner so the certificate appears to be associated with a private key. However, when I try to add a reference to the WCF service that uses this certificate the system returns the following error message:
"It is likely that certificate 'CN=RootCATest' may not have a private key that is capable of key exchange or the process may not have access rights for the private key."
Any idea what the problem might be? Based on googling it appears I should be able to right click the cert in my MMC and select "All Tasks" > "Manage Private Keys". However, this menu option is not available for my certificate for some reason. My understanding was that if the cert is in the proper store and it has the key image in the top left corner then everything should be go but this does not appear to be the case....
Last Visit: 31-Dec-99 19:00 Last Update: 30-Mar-15 18:47