![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
|
Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
br> br> |
| |||||||
| | Thread Tools | Display Modes |
| | #1 (permalink) |
| Guest | 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. |
| | #2 (permalink) |
| Guest | 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. |
| |
| |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Anyone knows a good disaster recovery tool???? | flora935 | Vista hardware & devices | 7 | 05-22-2008 10:08 PM |
| Anyone knows a good disaster recovery tool???? | sylvester90000 | Vista hardware & devices | 4 | 05-22-2008 03:04 PM |
| Adding New Contact when no "New Contact" option on tool bar? | Kate | Vista mail | 1 | 02-16-2008 02:47 PM |
| Finally everythings all GOOD...and i hope this is for real | mathews2010 | General Discussion | 11 | 12-01-2007 08:57 PM |
| So what is a good tool for partition recovery? | Bernie | Vista General | 7 | 08-04-2006 06:54 AM |