Windows Vista Forums
Vista Forums Home Join Vista Forums Donate Vista Tutorials Tags

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.
Register at Vista forums...the world biggest Windows Vista resource Join Vista Forums Now

Go Back   Vista Forums > Microsoft Technical Newsgroups > Indigo

Is there a good tool for creating real contact first in wcf.

 
 
Thread Tools Display Modes
Old 09-04-2006   #1 (permalink)
R.A.B
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.

Old 09-25-2006   #2 (permalink)
q
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








Vistax64.com is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media 2005-2008

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50