![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
| |
| | #1 (permalink) |
| | Is there a good tool for creating real contact first in wcf. Hello everybody WCF is described as a contract first approch, even though you dont generate the code from the xsd or wsdl Im working on a project where someone is supplying me with the WSDL. I coded a interface from it and and got the datatypes by running the wsdl through svcutil Now im creating a client by generating a stub, the problem is that the original wsdl and the one exposed by my service do not look alike... dont get me wrong, the service wsdl do still reflect the original, however it has lost a lot of the restrictions etc. My question.. Is there a way to generate service code for WCF from a wsdl, and keep all the restriction information, or do I simply have to wait for better one to one support for wsdl to wcf. Ofcause I can generate stub code form the original wsdl, but I guess that this will not change the restrictions for the client stub either. |
My System Specs![]() |
| | #2 (permalink) |
| | Re: Is there a good tool for creating real contact first in wcf. WSDL isn't the only type of contract out there. You shouldn't think of WCF merely as a web service tool. Programmatically it looks feels MUCH more like COM. In COM and WCF, the contracts are Interfaces, not WSDL files. The OUTPUT of WCF *can be* WSDL, but output is never "first". So, that's not what you use for contact first. In WCF, when we say contract first, we mean you need to write the interfaces first (Interface == Contract). R.A.B wrote: > Hello everybody > > WCF is described as a contract first approch, even though you dont > generate the code from the xsd or wsdl > > Im working on a project where someone is supplying me with the WSDL. > I coded a interface from it and and got the datatypes by running the > wsdl through svcutil > > Now im creating a client by generating a stub, the problem is that the > original wsdl and the one exposed by my service do not look alike... > dont get me wrong, the service wsdl do still reflect the original, > however it has lost a lot of the restrictions etc. > > My question.. > > Is there a way to generate service code for WCF from a wsdl, and keep > all the restriction information, or do I simply have to wait for better > one to one support for wsdl to wcf. > > Ofcause I can generate stub code form the original wsdl, but I guess > that this will not change the restrictions for the client stub either. |
My System Specs![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| Anyone knows a good disaster recovery tool???? | Vista hardware & devices | |||
| Anyone knows a good disaster recovery tool???? | Vista hardware & devices | |||
| Adding New Contact when no "New Contact" option on tool bar? | Vista mail | |||
| Finally everythings all GOOD...and i hope this is for real | General Discussion | |||
| So what is a good tool for partition recovery? | Vista General | |||