<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://thoughtshapes.com" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>ThoughtShapes - WCF - Comments</title>
 <link>http://thoughtshapes.com/taxonomy/term/7</link>
 <description>Comments for &quot;WCF&quot;</description>
 <language>en</language>
<item>
 <title>do you have an Idea on how</title>
 <link>http://thoughtshapes.com/WCF/ExampleTwo.htm#comment-651</link>
 <description>&lt;p&gt;do you have an Idea on how we can apply the NetdataContractseriliazer only once at the service contract level instead of decorating each operation inside the service with the NetDataContractSerializer&lt;/p&gt;
&lt;p&gt;found some example here but i did not get it to work sofare&lt;br /&gt;
&lt;a href=&quot;http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=2329202&amp;amp;SiteID=1&amp;amp;pageid=0#2336966&quot; title=&quot;http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=2329202&amp;amp;SiteID=1&amp;amp;pageid=0#2336966&quot;&gt;http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=2329202&amp;amp;SiteID=1&amp;amp;p...&lt;/a&gt;&lt;/p&gt;
</description>
 <pubDate>Tue, 09 Sep 2008 10:11:48 -0400</pubDate>
 <dc:creator>Faiza Guerrache</dc:creator>
 <guid isPermaLink="false">comment 651 at http://thoughtshapes.com</guid>
</item>
<item>
 <title>We would really like to see</title>
 <link>http://thoughtshapes.com/WCF/ExampleTwo.htm#comment-650</link>
 <description>&lt;p&gt;We would really like to see the example of returning an interface through a WCF method.  Can you post this (example three?)?&lt;br /&gt;
Thank you!&lt;/p&gt;
</description>
 <pubDate>Wed, 03 Sep 2008 10:30:28 -0400</pubDate>
 <dc:creator>Kealy</dc:creator>
 <guid isPermaLink="false">comment 650 at http://thoughtshapes.com</guid>
</item>
<item>
 <title>I got the program working</title>
 <link>http://thoughtshapes.com/WCF/ExampleTwo.htm#comment-649</link>
 <description>&lt;p&gt;I got the program working now it was just a mistake in the NetDataContractSeriliaser file - its just whe you press the enter key after the word implements  when a class implement a service) it generate function -  I had my owen function and VB genetrated automatic function which confused the program&lt;/p&gt;
&lt;p&gt;thank you again for the example&lt;/p&gt;
</description>
 <pubDate>Wed, 03 Sep 2008 06:37:44 -0400</pubDate>
 <dc:creator>Faiza Guerrache</dc:creator>
 <guid isPermaLink="false">comment 649 at http://thoughtshapes.com</guid>
</item>
<item>
 <title>You&#039;re welcome.
Are you</title>
 <link>http://thoughtshapes.com/WCF/ExampleTwo.htm#comment-648</link>
 <description>&lt;p&gt;You&#039;re welcome.&lt;/p&gt;
&lt;p&gt;Are you getting this error when running the example?  Just a moment ago I downloaded the example and ran without a problem.  Are you instead getting this error after tweaking the example code or perhaps in your own project?&lt;/p&gt;
&lt;p&gt;The error above signifies that you are using the DataContractSerializer instead of the NetDataContractSerializer, perhaps by accident.&lt;/p&gt;
</description>
 <pubDate>Tue, 02 Sep 2008 21:12:25 -0400</pubDate>
 <dc:creator>Steve Seymour</dc:creator>
 <guid isPermaLink="false">comment 648 at http://thoughtshapes.com</guid>
</item>
<item>
 <title>I have followed your example</title>
 <link>http://thoughtshapes.com/WCF/ExampleTwo.htm#comment-647</link>
 <description>&lt;p&gt;I have followed your example - thank you very much for the example and the article very handy.&lt;br /&gt;
however I am getting this error do you know this error is due to what?&lt;/p&gt;
&lt;p&gt;There was an error while trying to serialize parameter &lt;a href=&quot;http://tempuri.org/:person&quot; title=&quot;http://tempuri.org/:person&quot;&gt;http://tempuri.org/:person&lt;/a&gt;. The InnerException message was &#039;Type &#039;Domain.Customer&#039; with data contract name &#039;Customer:http://schemas.datacontract.org/2004/07/Domain&#039; is not expected. Add any types not known statically to the list of known types - for example, by using the KnownTypeAttribute attribute or by adding them to the list of known types passed to DataContractSerializer.&#039;.  Please see InnerException for more details.&lt;br /&gt;
any feedback will be appriciated&lt;/p&gt;
</description>
 <pubDate>Tue, 02 Sep 2008 04:54:48 -0400</pubDate>
 <dc:creator>Anonymous</dc:creator>
 <guid isPermaLink="false">comment 647 at http://thoughtshapes.com</guid>
</item>
<item>
 <title>Yes, it is definitely</title>
 <link>http://thoughtshapes.com/WCF/ExampleTwo.htm#comment-611</link>
 <description>&lt;p&gt;Yes, it is definitely possible.  It&#039;s been a while since I&#039;ve written the examples, but I thought I did return an interface in, maybe, Example Three?&lt;/p&gt;
&lt;p&gt;Regardless, the error you are receiving is not due to returning an interface...unless you are not using the NetDataContractSerializer and/or you are not using a .NET client.  It&#039;s too hard for me to say exactly what is going on in your case without digging into the code.&lt;/p&gt;
</description>
 <pubDate>Fri, 22 Feb 2008 17:43:23 -0500</pubDate>
 <dc:creator>Steve Seymour</dc:creator>
 <guid isPermaLink="false">comment 611 at http://thoughtshapes.com</guid>
</item>
<item>
 <title>Hi,
What about returning an</title>
 <link>http://thoughtshapes.com/WCF/ExampleTwo.htm#comment-610</link>
 <description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;What about returning an Interface?&lt;/p&gt;
&lt;p&gt;I have somehting like that:&lt;/p&gt;
&lt;p&gt;[OperationContract]&lt;br /&gt;
IService GetService(string serviceName);&lt;/p&gt;
&lt;p&gt;But always getting this exception when calling the method from the client:&lt;/p&gt;
&lt;p&gt;The socket connection was aborted. This could be caused by an error processing your message or a receive timeout being exceeded by the remote host, or an underlying network resource issue. Local socket timeout was &#039;00:00:59.9531250&#039;.&lt;/p&gt;
&lt;p&gt;Is it possible to return an Interface from a WCF method?&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;
Benoit.&lt;/p&gt;
</description>
 <pubDate>Fri, 22 Feb 2008 16:46:41 -0500</pubDate>
 <dc:creator>Benoit Morneau</dc:creator>
 <guid isPermaLink="false">comment 610 at http://thoughtshapes.com</guid>
</item>
<item>
 <title>Sorry, Omar, I was out of</title>
 <link>http://thoughtshapes.com/WCF/ExampleThree.htm#comment-600</link>
 <description>&lt;p&gt;Sorry, Omar, I was out of town yesterday.  I will take a look at this tonight and get back to you.  I&#039;d do so now but am catching up with work.&lt;/p&gt;
</description>
 <pubDate>Wed, 21 Nov 2007 11:44:22 -0500</pubDate>
 <dc:creator>Steve Seymour</dc:creator>
 <guid isPermaLink="false">comment 600 at http://thoughtshapes.com</guid>
</item>
<item>
 <title>Running the client and the</title>
 <link>http://thoughtshapes.com/WCF/ExampleThree.htm#comment-599</link>
 <description>&lt;p&gt;Running the client and the host on two different stations is generating a &quot;The caller was not authenticated by the service&quot; error. Any advice on how to proceed?&lt;/p&gt;
</description>
 <pubDate>Tue, 20 Nov 2007 09:18:29 -0500</pubDate>
 <dc:creator>Omar Abou Mrad</dc:creator>
 <guid isPermaLink="false">comment 599 at http://thoughtshapes.com</guid>
</item>
</channel>
</rss>
