<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>WSDL-First development with WCF</title><link>http://blogs.msdn.com/dotnetinterop/archive/2008/09/24/wsdl-first-development-with-wcf.aspx</link><description>A couple weeks ago I mentioned that you could do WSDL-First development with WCF, but I didn't go into detail as to how that would work. Somebody asked, so I guess I'll describe the specific steps. I want to use a real scenario, so for a WSDL, I will</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>  WSDL-First development with WCF : EasyCoded</title><link>http://blogs.msdn.com/dotnetinterop/archive/2008/09/24/wsdl-first-development-with-wcf.aspx#8963737</link><pubDate>Wed, 24 Sep 2008 18:38:40 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8963737</guid><dc:creator>  WSDL-First development with WCF : EasyCoded</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://www.easycoded.com/wsdl-first-development-with-wcf/"&gt;http://www.easycoded.com/wsdl-first-development-with-wcf/&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>re: WSDL-First development with WCF</title><link>http://blogs.msdn.com/dotnetinterop/archive/2008/09/24/wsdl-first-development-with-wcf.aspx#9012784</link><pubDate>Thu, 23 Oct 2008 13:15:14 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9012784</guid><dc:creator>Tareq Ali</dc:creator><description>&lt;p&gt;Thanks for the great article, however I don't agree with you that using wsdl files means client comes first. when you design your wsdl file this mean this is the server contract and client should abide to it&lt;/p&gt;
</description></item><item><title>re: WSDL-First development with WCF</title><link>http://blogs.msdn.com/dotnetinterop/archive/2008/09/24/wsdl-first-development-with-wcf.aspx#9013861</link><pubDate>Fri, 24 Oct 2008 03:02:16 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9013861</guid><dc:creator>DotNetInterop</dc:creator><description>&lt;p&gt;I certainly did not want to imply that using a WSDL file means you must build the client first. &amp;nbsp;However, I disagree that the WSDL file is a &amp;quot;server contract.&amp;quot; &amp;nbsp;In fact it is a contract, an interface definition, and as a first-class artifact in the system design, it is impossible to assign ownership of it purely to server-side assets or client-side assets. &amp;nbsp;The WSDL defines the link between them, and so is part of both, or is equally independent of both. &amp;nbsp;&lt;/p&gt;
&lt;p&gt;The Office Research Schema provides the counter-evidence to your statement that &amp;quot;using a WSDL file means this is the server contract and the client should abide to it.&amp;quot; &amp;nbsp;&lt;/p&gt;
</description></item><item><title>re: WSDL-First development with WCF</title><link>http://blogs.msdn.com/dotnetinterop/archive/2008/09/24/wsdl-first-development-with-wcf.aspx#9258323</link><pubDate>Wed, 31 Dec 2008 12:55:46 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9258323</guid><dc:creator>Jarkko Enden</dc:creator><description>&lt;p&gt;Hi, good article but I agree with Tareq. I would guess you are quite alone with your &amp;quot;WSDL is not a server contract&amp;quot; and &amp;quot;it is impossible to assign ownership of it&amp;quot; statements.&lt;/p&gt;
&lt;p&gt;1. The service interface (WSDL) must have an owner. It is owned by the service provider and used by the service consumer (terms server and client are often used). Shared ownership is not possible as the service provider must define the services it provides and the consumers/clients must respect that.&lt;/p&gt;
&lt;p&gt;2. You are confusing or misusing the term &amp;quot;client&amp;quot;. The fact that a workstation running Office is able to act as a service provider doesn't (or shouldn't) lead you to the conclusion that the WSDL can be defined by the &amp;quot;client&amp;quot;. The clients of the web service are the parties who call the web service. They can run server OS and have 32 processors, but they are still clients of the web service and have no say on the WSDL that is published by the service provider (i.e. server).&lt;/p&gt;
</description></item><item><title>re: WSDL-First development with WCF</title><link>http://blogs.msdn.com/dotnetinterop/archive/2008/09/24/wsdl-first-development-with-wcf.aspx#9302520</link><pubDate>Fri, 09 Jan 2009 23:03:50 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9302520</guid><dc:creator>DotNetInterop</dc:creator><description>&lt;P&gt;@Jarkko - thanks for the thoughts. &lt;/P&gt;
&lt;P&gt;You have stated that the WSDL must have an owner, and then you assert that it is owned by the service provider. &amp;nbsp;But you are simply asserting - it is not clear that you are correct. &amp;nbsp;The counter-example I provide - MS Office providing the service interface - is nowhere refuted or discounted in your comment? &lt;/P&gt;
&lt;P&gt;Also, I am quite clear on the meaning of Client and Server. &amp;nbsp; From your comment, it seems that you are not clear on the role that the MS Office application plays, while running on a desktop. &amp;nbsp;It is not the service provider. &amp;nbsp;It is the service consumer. &amp;nbsp;It consumes a service as defined by the WSDL published by the Office Research SDK. &amp;nbsp; Office is a consumer. &amp;nbsp;&lt;/P&gt;
&lt;P&gt;Now, it is also true that the MS Office team hosts a research service online that conforms to that WSDL. &amp;nbsp;But that is one specific instance of the general WSDL. &amp;nbsp;The instance does not define the WSDL. &amp;nbsp;The instance conforms to the WSDL. &lt;/P&gt;</description></item><item><title>re: WSDL-First development with WCF</title><link>http://blogs.msdn.com/dotnetinterop/archive/2008/09/24/wsdl-first-development-with-wcf.aspx#9452300</link><pubDate>Sun, 01 Mar 2009 12:21:13 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9452300</guid><dc:creator>Dave Harvey</dc:creator><description>&lt;p&gt;I agree with the original poster - the WSDL doesn't &amp;quot;belong&amp;quot; to either. &amp;nbsp;To prove the point, I hope to use this method (if I can get it working!) to implement an an International Standard for medical document exchange, which is itself defined by WSDL files, which BOTH clients and servers need to abide by. &amp;nbsp;This WSDL was written to convey the required information independently of any particular implementations, so that it works equally well with Microsoft, java etc.&lt;/p&gt;
</description></item><item><title>re: WSDL-First development with WCF</title><link>http://blogs.msdn.com/dotnetinterop/archive/2008/09/24/wsdl-first-development-with-wcf.aspx#9463216</link><pubDate>Fri, 06 Mar 2009 21:06:12 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9463216</guid><dc:creator>DotNetInterop</dc:creator><description>&lt;p&gt;Dave Harvey, that is a service-oriented philosophy! &lt;/p&gt;
</description></item><item><title>re: WSDL-First development with WCF</title><link>http://blogs.msdn.com/dotnetinterop/archive/2008/09/24/wsdl-first-development-with-wcf.aspx#9486460</link><pubDate>Wed, 18 Mar 2009 12:54:54 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9486460</guid><dc:creator>Gary Kellett</dc:creator><description>&lt;p&gt;I also agree with the original poster. &amp;nbsp;The WSDL simply defines an agreement between two endpoints stating what messages they will be sending between each other. &amp;nbsp;&lt;/p&gt;
&lt;p&gt;The primary application could be a consumer of a web service, where you may want to allow the consumer to speak to any number of different web services using the same agreed methods and data definitions, or indeed the web service where you may want to allow many consumers to call it.&lt;/p&gt;
</description></item><item><title>WSDL-First in WCF, versus WSDL-First in ASMX</title><link>http://blogs.msdn.com/dotnetinterop/archive/2008/09/24/wsdl-first-development-with-wcf.aspx#9653290</link><pubDate>Fri, 29 May 2009 17:50:23 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9653290</guid><dc:creator>All About Interop</dc:creator><description>&lt;p&gt;I wanted to point something out regarding the WSDL-First item I posted yesterday . This is a look at&lt;/p&gt;
</description></item><item><title>re: WSDL-First development with WCF</title><link>http://blogs.msdn.com/dotnetinterop/archive/2008/09/24/wsdl-first-development-with-wcf.aspx#9857515</link><pubDate>Wed, 05 Aug 2009 02:12:50 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9857515</guid><dc:creator>Alexander Oss</dc:creator><description>&lt;p&gt;I am indebted to you for posting a sample of the generated interface, because when I ran svcutil.exe against the WSDL I was provided, the OperationContractAttribute came out a little differently:&lt;/p&gt;
&lt;p&gt;[System.ServiceModel.OperationContractAttribute(Action=&amp;quot;&lt;a rel="nofollow" target="_new" href="http://www.hotel.info/HDE_ReservationPushService/V1_0/PushReservation&amp;quot;"&gt;http://www.hotel.info/HDE_ReservationPushService/V1_0/PushReservation&amp;quot;&lt;/a&gt;, ReplyAction=&amp;quot;*&amp;quot;)]&lt;/p&gt;
&lt;p&gt;Notice the darn asterisk there? &amp;nbsp;I didn't, at first, and whenever I built my service, the operation was not available (the service-generated WSDL didn't even mention it). &amp;nbsp;Then I saw that your example did not have an asterisk, and I manually modified the svcutil-generated code to use a blank instead of an asterisk, and the service-generated WSDL was finally full to the brim with the operation and all the data structures necessary.&lt;/p&gt;
&lt;p&gt;I found this article:&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://social.msdn.microsoft.com/Forums/en-US/wcf/thread/41f5fe72-3ab3-4741-867e-a93119fe62aa"&gt;http://social.msdn.microsoft.com/Forums/en-US/wcf/thread/41f5fe72-3ab3-4741-867e-a93119fe62aa&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;in which someone else encounters the same problem.&lt;/p&gt;
&lt;p&gt;...So, is it really a problem for svcutil.exe to create server-side-usable interfaces? &amp;nbsp;What happened to my good friend &amp;quot;wsdl.exe /serverInterface&amp;quot;?&lt;/p&gt;
</description></item><item><title>re: WSDL-First development with WCF</title><link>http://blogs.msdn.com/dotnetinterop/archive/2008/09/24/wsdl-first-development-with-wcf.aspx#9892223</link><pubDate>Mon, 07 Sep 2009 16:19:06 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9892223</guid><dc:creator>Ramon Buckland</dc:creator><description>&lt;p&gt;Thank you also for this good example. &lt;/p&gt;
&lt;p&gt;I have been writing a proof of concept of WSRP 2.0 using this exact method, and so far it has worked. &lt;/p&gt;
&lt;p&gt;The Tip by Alexander Oss, was also invaluable. I too found that the svcutil generated the ReplyAction=&amp;quot;*&amp;quot; which did stop it from generating the WSDL. Removing this from the entry resolved the problem.&lt;/p&gt;
&lt;p&gt;Once I have the working example of WSRP 2.0 with a .NET service I will post a blog about it. &lt;/p&gt;
&lt;p&gt;Cheers&lt;/p&gt;
&lt;p&gt;Ramon Buckland ( ramon at thebuckland.com )&lt;/p&gt;
</description></item></channel></rss>