<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="http://www.codeplex.com/rss.xsl"?><rss version="2.0"><channel><title>patterns &amp; practices: Web Service Software Factory</title><link>http://www.codeplex.com/servicefactory/Project/ProjectRss.aspx</link><description>The Web Service Software Factory &amp;#40;also known as the Service Factory&amp;#41; is an integrated collection of tools, patterns, source code and prescriptive guidance. It is designed to help you quickly and co...</description><item><title>New Post: Error when generating MaterialMgmtProxy in Host Model</title><link>http://www.codeplex.com/servicefactory/Thread/View.aspx?ThreadId=37320</link><description>&lt;div style="line-height: normal;"&gt;Hi,&lt;br&gt;
&lt;br&gt;
I am running VS 2008 Professional Edition with SP, .NET Framework 3.5 SP1 on a Windows XP machine. I have also installed the GAX, GAT, and WSSF extensions.&lt;br&gt;
&lt;br&gt;
I am working on the Exercises provided in the Hands On lab that I downloaded from the following CodePlex location:&lt;br&gt;
&lt;a href="http://www.codeplex.com/Release/ProjectReleases.aspx?ProjectName=servicefactory&amp;ReleaseId=7847"&gt;http://www.codeplex.com/Release/ProjectReleases.aspx?ProjectName=servicefactory&amp;amp;ReleaseId=7847&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
I get&amp;nbsp;an&amp;nbsp;error when working on step 20 in&amp;nbsp;Exercise 7 in the Hands On Lab. Step 20 is shown below:&lt;br&gt;
&lt;br&gt;
&lt;p&gt;20. In the &lt;b&gt;Add WCF Service Reference&lt;/b&gt; dialog box, click &lt;b&gt;Next&lt;/b&gt; on the Service properties step, choose &lt;b&gt;Next&lt;/b&gt; on the &lt;b&gt;Endpoint selection&lt;/b&gt; step, and then click &lt;b&gt;Finish&lt;/b&gt; on the &lt;b&gt;Security settings&lt;/b&gt; step to generate the proxy. &lt;/p&gt;
I get an error when I click on the &amp;quot;Next&amp;quot; button in the Service Properties&amp;nbsp;step. This is the step related to configuring the &amp;quot;MaterialMgmtProxy&amp;quot; under the &amp;quot;ScmWinFormClient&amp;quot; Application in the Host Model.&lt;br&gt;
&lt;br&gt;
The Implementation Technlogy is set to WCF for both Host and Client applications. &lt;br&gt;
&lt;br&gt;
The error message and&amp;nbsp;stack trace is shown below.&amp;nbsp;&lt;span&gt;The &amp;quot;PartsMgmtService&amp;quot; exists, because I see it in the&amp;nbsp;DSL Model Element Selector window which pops up when I click on the ellipsis (...) button in the &amp;quot;Service Implementation Type&amp;quot; value field.&amp;nbsp;&amp;nbsp;So I don't know why the error tells me that it is missing. Am I missing a configuration step? Has anyone else run into this error before?&lt;br&gt;
&lt;br&gt;
Any help or guidance would be greatly appreciated. Thanks. Kiran&lt;br&gt;
&lt;h1&gt;Server Error in '/BYA.Mfg.SCM.Svc.WCF.Host' Application.
&lt;hr width="100%" color=silver size=1&gt;
&lt;/h1&gt;
&lt;h2&gt;&lt;i&gt;The type 'BYA.Mfg.SCM.Svc.WCF.ServiceImplementation.PartsMgmtService', provided as the Service attribute value in the ServiceHost directive could not be found.&lt;/i&gt; &lt;/h2&gt;
&lt;/span&gt;&lt;span style="font-family:Arial, Helvetica, Geneva, SunSans-Regular, sans-serif"&gt;&lt;b&gt;Description: &lt;/b&gt;An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. &lt;br&gt;
&lt;br&gt;
&lt;b&gt;Exception Details: &lt;/b&gt;System.InvalidOperationException: The type 'BYA.Mfg.SCM.Svc.WCF.ServiceImplementation.PartsMgmtService', provided as the Service attribute value in the ServiceHost directive could not be found.&lt;br&gt;
&lt;br&gt;
&lt;b&gt;Source Error:&lt;/b&gt; &lt;br&gt;
&lt;br&gt;
&lt;table width="100%" bgcolor="#ffffcc"&gt;
    &lt;tbody&gt;
        &lt;tr&gt;
            &lt;td&gt;&lt;code&gt;An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.&lt;/code&gt; &lt;/td&gt;
        &lt;/tr&gt;
    &lt;/tbody&gt;
&lt;/table&gt;
&lt;br&gt;
&lt;b&gt;&lt;span style="font-family:Verdana"&gt;Stack Trace:&lt;/span&gt;&lt;/b&gt; &lt;br&gt;
&lt;br&gt;
&lt;table width="100%" bgcolor="#ffffcc"&gt;
    &lt;tbody&gt;
        &lt;tr&gt;
            &lt;td&gt;&lt;code&gt;
            &lt;pre&gt;[InvalidOperationException: The type 'BYA.Mfg.SCM.Svc.WCF.ServiceImplementation.PartsMgmtService', provided as the Service attribute value in the ServiceHost directive could not be found.]
   System.ServiceModel.Activation.ServiceHostFactory.CreateServiceHost(String constructorString, Uri[] baseAddresses) +4072062
   System.ServiceModel.HostingManager.CreateService(String normalizedVirtualPath) +11656092
   System.ServiceModel.HostingManager.ActivateService(String normalizedVirtualPath) +42
   System.ServiceModel.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath) +479

[ServiceActivationException: The service '/BYA.Mfg.SCM.Svc.WCF.Host/MaterialMgmt.svc' cannot be activated due to an exception during compilation.  The exception message is: The type 'BYA.Mfg.SCM.Svc.WCF.ServiceImplementation.PartsMgmtService', provided as the Service attribute value in the ServiceHost directive could not be found..]
   System.ServiceModel.AsyncResult.End(IAsyncResult result) +11527290
   System.ServiceModel.Activation.HostedHttpRequestAsyncResult.End(IAsyncResult result) +194
   System.ServiceModel.Activation.HostedHttpRequestAsyncResult.ExecuteSynchronous(HttpApplication context, Boolean flowContext) +176
   System.ServiceModel.Activation.HttpModule.ProcessRequest(Object sender, EventArgs e) +278
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +68
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp;amp; completedSynchronously) +75
&lt;/pre&gt;
            &lt;/code&gt;&lt;/td&gt;
        &lt;/tr&gt;
    &lt;/tbody&gt;
&lt;/table&gt;
&lt;br&gt;
&lt;hr width="100%" color=silver size=1&gt;
&lt;b&gt;&lt;span style="font-family:Verdana"&gt;Version Information:&lt;/span&gt;&lt;/b&gt;&amp;nbsp;Microsoft .NET Framework Version:2.0.50727.3053; ASP.NET Version:2.0.50727.3053 &lt;/span&gt;&amp;lt;!-- 
[InvalidOperationException]: The type 'BYA.Mfg.SCM.Svc.WCF.ServiceImplementation.PartsMgmtService', provided as the Service attribute value in the ServiceHost directive could not be found.
   at System.ServiceModel.Activation.ServiceHostFactory.CreateServiceHost(String constructorString, Uri[] baseAddresses)
   at System.ServiceModel.ServiceHostingEnvironment.HostingManager.CreateService(String normalizedVirtualPath)
   at System.ServiceModel.ServiceHostingEnvironment.HostingManager.ActivateService(String normalizedVirtualPath)
   at System.ServiceModel.ServiceHostingEnvironment.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath)
[ServiceActivationException]: The service '/BYA.Mfg.SCM.Svc.WCF.Host/MaterialMgmt.svc' cannot be activated due to an exception during compilation.  The exception message is: The type 'BYA.Mfg.SCM.Svc.WCF.ServiceImplementation.PartsMgmtService', provided as the Service attribute value in the ServiceHost directive could not be found..
   at System.ServiceModel.AsyncResult.End[TAsyncResult](IAsyncResult result)
   at System.ServiceModel.Activation.HostedHttpRequestAsyncResult.End(IAsyncResult result)
   at System.ServiceModel.Activation.HostedHttpRequestAsyncResult.ExecuteSynchronous(HttpApplication context, Boolean flowContext)
   at System.ServiceModel.Activation.HttpModule.ProcessRequest(Object sender, EventArgs e)
   at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp; completedSynchronously)
--&amp;gt;
&lt;/div&gt;</description><author>kkakanur</author><pubDate>Wed, 08 Oct 2008 17:52:54 GMT</pubDate><guid isPermaLink="false">New Post: Error when generating MaterialMgmtProxy in Host Model 20081008055254P</guid></item><item><title>Commented Issue: Inability to share Data Contracts WSSF ME (V3)</title><link>http://www.codeplex.com/servicefactory/WorkItem/View.aspx?WorkItemId=4842</link><description>It would appear you are unable to share data contracts between services designed with the WSSF Modelling Edition, we only have the ability to select primitive datatypes.  We would like to create a common data contract library &amp;#40;which would include simple constructs such as Address, etc&amp;#41; and share this between the Entity Services we are modelling.  &lt;br /&gt;&lt;br /&gt;Having been very impressed with the WSSF ME functionality thus far, this would appear be be an obvious requirement, or are we missing something here&amp;#63;&lt;br /&gt;Comments: ** Comment from web user: FrazGJF ** &lt;p&gt;as well as datacontract reuse &amp;#40;similiar to the way Services use datacontracts&amp;#41; and inheritance, that is, Class&amp;#47;model inheritance as well as IInterface inheritance, can we use the types of other libraries the model projects Solution. Similiar to using mscorlib types. This way we can model data types from existing code and have the ability to make them data members or not.&lt;br /&gt;Also what is the Advanced tab about... sounds promising&lt;/p&gt;</description><author>FrazGJF</author><pubDate>Thu, 02 Oct 2008 22:59:25 GMT</pubDate><guid isPermaLink="false">Commented Issue: Inability to share Data Contracts WSSF ME (V3) 20081002105925P</guid></item><item><title>New Post: Location of the reference implementation</title><link>http://www.codeplex.com/servicefactory/Thread/View.aspx?ThreadId=22134</link><description>&lt;div style="line-height: normal;"&gt;Yes, where did the WCF reference implementation go?&amp;nbsp; It isn't in the February 2008 release that I just got from the official MSDN service factory Web site (that I could find anyway).&amp;nbsp; It used to be included as a separate installer.&amp;nbsp; Any ideas?&lt;br&gt;
&lt;/div&gt;</description><author>spencer205</author><pubDate>Wed, 01 Oct 2008 17:06:26 GMT</pubDate><guid isPermaLink="false">New Post: Location of the reference implementation 20081001050626P</guid></item><item><title>New Post: Migrate to Visual Studio 2008</title><link>http://www.codeplex.com/servicefactory/Thread/View.aspx?ThreadId=36455</link><description>&lt;div style="line-height: normal;"&gt;Hello&lt;br&gt;
&lt;br&gt;
We have a project in Visual Studio 2005 that uses previous versions of&amp;nbsp;the Smart Client Software Factory and the Web Service Software Factory and also a previous version of the GAX. We are currently planning to migrate to Visual Studio 2008 but this also implies that we need to install more recent versions of GAX/GAT and the Software Factories.&lt;br&gt;
&lt;br&gt;
Can anyone tell me what steps we need to take to remove the links from the projects to the previous versions of the Software Factories and how we can enable our project to use the latest versions of the Software Factories? Can this be done?&lt;br&gt;
&lt;br&gt;
Regards&lt;br&gt;
&lt;br&gt;
Gabriel
&lt;/div&gt;</description><author>Gabriel</author><pubDate>Thu, 25 Sep 2008 12:05:10 GMT</pubDate><guid isPermaLink="false">New Post: Migrate to Visual Studio 2008 20080925120510P</guid></item><item><title>New Post: Modelling restful web services</title><link>http://www.codeplex.com/servicefactory/Thread/View.aspx?ThreadId=36424</link><description>&lt;div style="line-height: normal;"&gt;WCF in .Net 3.5 supports services which can be exposed via Restful endpoint. Since services are modelled in technology independent manner , does that mean no problem with modelling this kind of services ?&amp;nbsp; Also is Web Service Software Factory Modelling Edition helpful at design phase if we decide afterwards to use ADO.Net Data Services ?
&lt;/div&gt;</description><author>micmit</author><pubDate>Thu, 25 Sep 2008 01:57:20 GMT</pubDate><guid isPermaLink="false">New Post: Modelling restful web services 20080925015720A</guid></item><item><title>Updated Wiki: Home</title><link>http://www.codeplex.com/servicefactory/Wiki/View.aspx?title=Home&amp;version=65</link><description>&lt;div class="wikidoc"&gt;
The Web Service Software Factory &amp;#40;also known as the Service Factory&amp;#41; is an integrated collection of tools, patterns, source code and prescriptive guidance. It is designed to help you quickly and consistently construct WCF and ASMX Web services that adhere to well known architecture and design patterns.&lt;br /&gt;
&lt;br /&gt; &lt;br /&gt;&lt;h3&gt;
Announcements
&lt;/h3&gt;&lt;ul&gt;
&lt;li&gt;&lt;b&gt;The Contrib Project is Live!&lt;/b&gt; The long awaited Service Factory Contrib site is finally live and has some great contributions right out of the gate. Thanks to Edward Bakker and our friends at Digit Factory, you can finally generate VB.NET code from your models and automatically generate model elements from your existing WSDL documents using the 2 contributions available right now. Thanks guys, great job! &lt;a href="http://codeplex.com/wssfcontrib" class="externalLink"&gt;http://codeplex.com/wssfcontrib&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; &lt;i&gt;(23 July 2008)&lt;/i&gt; pro&lt;/li&gt;&lt;li&gt;&lt;b&gt;EntLib Policy Extensions&lt;/b&gt; Another new contrib project that adds WSSF the capability of integrating PIAB and WCF in a very simple way. For further details and download go to the contrib project site.&lt;/li&gt;&lt;li&gt;&lt;b&gt;EntLib Extensions&lt;/b&gt; Our Dutch brethren (and advisors) over at Avanade have created and released an extension to the Service Factory: Modeling Edition that allows &lt;a href="http://codeplex.com/entlib" class="externalLink"&gt;Enterprise Library&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; to be used in very powerful ways. We would highly encourage you to check out the work they've done. They have a downloadable binary, a walkthrough of how to use this new capability, and an &lt;a href="http://msdn2.microsoft.com/en-us/magazine/cc164250.aspx" class="externalLink"&gt;MSDN article&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; that covers it. Check it out and give them some feedback. Great job guys! Well done! &lt;a href="http://codeplex.com/EntLibExtensionsWSSF" class="externalLink"&gt;http://codeplex.com/EntLibExtensionsWSSF&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; &lt;i&gt;(23 Apr 2008)&lt;/i&gt;&lt;/li&gt;
&lt;/ul&gt; &lt;br /&gt;&lt;h3&gt;
Info &amp;amp; Release Links
&lt;/h3&gt;&lt;ul&gt;
&lt;li&gt;&lt;a href="http://msdn2.microsoft.com/en-us/library/bb931187.aspx" class="externalLink"&gt;Official Service Factory Homepage on MSDN&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;: Has more high-level information on Service Factory than you'll find here.&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.codeplex.com/servicefactory/Wiki/View.aspx?title=V3KnownIssues&amp;amp;referringTitle=Home"&gt;Service Factory Known Issues&lt;/a&gt;: These are also in the Issue Tracker so you can vote on the ones you want fixed.&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.codeplex.com/servicefactory/Wiki/View.aspx?title=V3Roadmap&amp;amp;referringTitle=Home"&gt;Features, Futures &amp;amp; Scope&lt;/a&gt;: What's in the next version and when it will be available.&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.codeplex.com/servicefactory/Wiki/View.aspx?title=Videos&amp;amp;referringTitle=Home"&gt;Videos&lt;/a&gt;: The Service Factory in action (not yet updated for the modeling edition)&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.codeplex.com/servicefactory/Wiki/View.aspx?title=V3QandA&amp;amp;referringTitle=Home"&gt;Q &amp;amp; A&lt;/a&gt;: Questions that haven't been asked enough to be called a FAQ.&lt;/li&gt;
&lt;/ul&gt; &lt;br /&gt;&lt;h3&gt;
Resource Links
&lt;/h3&gt;&lt;ul&gt;
&lt;li&gt;&lt;a href="http://go.microsoft.com/fwlink/?linkid=102972" class="externalLink"&gt;Service Factory Hands-on Lab&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;: Download the code and instructions here.&lt;/li&gt;&lt;li&gt;&lt;a href="http://go.microsoft.com/fwlink/?LinkId=102973" class="externalLink"&gt;Service Factory Extensibility Hands-on Lab&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;: Download the code and instructions here.&lt;/li&gt;&lt;li&gt;&lt;a href="javascript:window.location.href='http://www.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=servicefactory&amp;amp;DownloadId=5530';"&gt;A small PowerPoint deck&lt;/a&gt; Don used in Tech-Ed Europe this year&lt;/li&gt;&lt;li&gt;&lt;a href="http://msdn2.microsoft.com/en-us/practices/bb190348.aspx" class="externalLink"&gt;Service Factory Blogs&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; by people on the Service Factory team.&lt;/li&gt;
&lt;/ul&gt; &lt;br /&gt;&lt;h3&gt;
Other Very Useful Links
&lt;/h3&gt;&lt;ul&gt;
&lt;li&gt;&lt;a href="http://codeplex.com/wssfcontrib" class="externalLink"&gt;Service Factory Contrib&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://msdn.microsoft.com/practices" class="externalLink"&gt;patterns &amp;amp; practices on MSDN&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.codeplex.com/servicesengine" class="externalLink"&gt;Microsoft Managed Services Engine&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.codeplex.com/esb" class="externalLink"&gt;Microsoft ESB Guidance&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.codeplex.com/entlib" class="externalLink"&gt;Enterprise Library Community&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.codeplex.com/gel" class="externalLink"&gt;GAX Extensions Library Community&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.codeplex.com/websf" class="externalLink"&gt;Web Client Software Factory Community&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.codeplex.com/smartclient" class="externalLink"&gt;Smart Client Guidance Community&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;</description><author>hernandelahitte</author><pubDate>Fri, 19 Sep 2008 18:42:13 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Home 20080919064213P</guid></item><item><title>Updated Wiki: Home</title><link>http://www.codeplex.com/servicefactory/Wiki/View.aspx?title=Home&amp;version=64</link><description>&lt;div class="wikidoc"&gt;
The Web Service Software Factory &amp;#40;also known as the Service Factory&amp;#41; is an integrated collection of tools, patterns, source code and prescriptive guidance. It is designed to help you quickly and consistently construct WCF and ASMX Web services that adhere to well known architecture and design patterns.&lt;br /&gt;
&lt;br /&gt; &lt;br /&gt;&lt;h3&gt;
Announcements
&lt;/h3&gt;&lt;ul&gt;
&lt;li&gt;&lt;b&gt;The Contrib Project is Live!&lt;/b&gt; The long awaited Service Factory Contrib site is finally live and has some great contributions right out of the gate. Thanks to Edward Bakker and our friends at Digit Factory, you can finally generate VB.NET code from your models and automatically generate model elements from your existing WSDL documents using the 2 contributions available right now. Thanks guys, great job! &lt;a href="http://codeplex.com/wssfcontrib" class="externalLink"&gt;http://codeplex.com/wssfcontrib&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; &lt;i&gt;(23 July 2008)&lt;/i&gt; pro&lt;/li&gt;&lt;li&gt;&lt;b&gt;EntLib Policy Extensions&lt;/b&gt; Another new contrib project is that provides WSSF with the capability of integrating PIAB and WCF in a very simple way. For further details and download go to the contrib project site.&lt;/li&gt;&lt;li&gt;&lt;b&gt;EntLib Extensions&lt;/b&gt; Our Dutch brethren (and advisors) over at Avanade have created and released an extension to the Service Factory: Modeling Edition that allows &lt;a href="http://codeplex.com/entlib" class="externalLink"&gt;Enterprise Library&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; to be used in very powerful ways. We would highly encourage you to check out the work they've done. They have a downloadable binary, a walkthrough of how to use this new capability, and an &lt;a href="http://msdn2.microsoft.com/en-us/magazine/cc164250.aspx" class="externalLink"&gt;MSDN article&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; that covers it. Check it out and give them some feedback. Great job guys! Well done! &lt;a href="http://codeplex.com/EntLibExtensionsWSSF" class="externalLink"&gt;http://codeplex.com/EntLibExtensionsWSSF&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; &lt;i&gt;(23 Apr 2008)&lt;/i&gt;&lt;/li&gt;
&lt;/ul&gt; &lt;br /&gt;&lt;h3&gt;
Info &amp;amp; Release Links
&lt;/h3&gt;&lt;ul&gt;
&lt;li&gt;&lt;a href="http://msdn2.microsoft.com/en-us/library/bb931187.aspx" class="externalLink"&gt;Official Service Factory Homepage on MSDN&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;: Has more high-level information on Service Factory than you'll find here.&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.codeplex.com/servicefactory/Wiki/View.aspx?title=V3KnownIssues&amp;amp;referringTitle=Home"&gt;Service Factory Known Issues&lt;/a&gt;: These are also in the Issue Tracker so you can vote on the ones you want fixed.&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.codeplex.com/servicefactory/Wiki/View.aspx?title=V3Roadmap&amp;amp;referringTitle=Home"&gt;Features, Futures &amp;amp; Scope&lt;/a&gt;: What's in the next version and when it will be available.&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.codeplex.com/servicefactory/Wiki/View.aspx?title=Videos&amp;amp;referringTitle=Home"&gt;Videos&lt;/a&gt;: The Service Factory in action (not yet updated for the modeling edition)&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.codeplex.com/servicefactory/Wiki/View.aspx?title=V3QandA&amp;amp;referringTitle=Home"&gt;Q &amp;amp; A&lt;/a&gt;: Questions that haven't been asked enough to be called a FAQ.&lt;/li&gt;
&lt;/ul&gt; &lt;br /&gt;&lt;h3&gt;
Resource Links
&lt;/h3&gt;&lt;ul&gt;
&lt;li&gt;&lt;a href="http://go.microsoft.com/fwlink/?linkid=102972" class="externalLink"&gt;Service Factory Hands-on Lab&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;: Download the code and instructions here.&lt;/li&gt;&lt;li&gt;&lt;a href="http://go.microsoft.com/fwlink/?LinkId=102973" class="externalLink"&gt;Service Factory Extensibility Hands-on Lab&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;: Download the code and instructions here.&lt;/li&gt;&lt;li&gt;&lt;a href="javascript:window.location.href='http://www.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=servicefactory&amp;amp;DownloadId=5530';"&gt;A small PowerPoint deck&lt;/a&gt; Don used in Tech-Ed Europe this year&lt;/li&gt;&lt;li&gt;&lt;a href="http://msdn2.microsoft.com/en-us/practices/bb190348.aspx" class="externalLink"&gt;Service Factory Blogs&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; by people on the Service Factory team.&lt;/li&gt;
&lt;/ul&gt; &lt;br /&gt;&lt;h3&gt;
Other Very Useful Links
&lt;/h3&gt;&lt;ul&gt;
&lt;li&gt;&lt;a href="http://codeplex.com/wssfcontrib" class="externalLink"&gt;Service Factory Contrib&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://msdn.microsoft.com/practices" class="externalLink"&gt;patterns &amp;amp; practices on MSDN&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.codeplex.com/servicesengine" class="externalLink"&gt;Microsoft Managed Services Engine&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.codeplex.com/esb" class="externalLink"&gt;Microsoft ESB Guidance&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.codeplex.com/entlib" class="externalLink"&gt;Enterprise Library Community&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.codeplex.com/gel" class="externalLink"&gt;GAX Extensions Library Community&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.codeplex.com/websf" class="externalLink"&gt;Web Client Software Factory Community&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.codeplex.com/smartclient" class="externalLink"&gt;Smart Client Guidance Community&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;</description><author>hernandelahitte</author><pubDate>Fri, 19 Sep 2008 18:34:23 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Home 20080919063423P</guid></item><item><title>Updated Wiki: Home</title><link>http://www.codeplex.com/servicefactory/Wiki/View.aspx?title=Home&amp;version=63</link><description>&lt;div class="wikidoc"&gt;
The Web Service Software Factory &amp;#40;also known as the Service Factory&amp;#41; is an integrated collection of tools, patterns, source code and prescriptive guidance. It is designed to help you quickly and consistently construct WCF and ASMX Web services that adhere to well known architecture and design patterns.&lt;br /&gt;
&lt;br /&gt; &lt;br /&gt;&lt;h3&gt;
Announcements
&lt;/h3&gt;&lt;ul&gt;
&lt;li&gt;&lt;b&gt;The Contrib Project is Live!&lt;/b&gt; The long awaited Service Factory Contrib site is finally live and has some great contributions right out of the gate. Thanks to Edward Bakker and our friends at Digit Factory, you can finally generate VB.NET code from your models and automatically generate model elements from your existing WSDL documents using the 2 contributions available right now. Thanks guys, great job! &lt;a href="http://codeplex.com/wssfcontrib" class="externalLink"&gt;http://codeplex.com/wssfcontrib&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; &lt;i&gt;(23 July 2008)&lt;/i&gt; pro&lt;/li&gt;&lt;li&gt;&lt;b&gt;EntLib Policy Extension&lt;/b&gt; Another &lt;b&gt;new&lt;/b&gt; contrib project is that provides WSSF with the capability of integrating PIAB and WCF in a very simple way. For further details and download go to the contrib project site.&lt;/li&gt;&lt;li&gt;&lt;b&gt;EntLib Extensions&lt;/b&gt; Our Dutch brethren (and advisors) over at Avanade have created and released an extension to the Service Factory: Modeling Edition that allows &lt;a href="http://codeplex.com/entlib" class="externalLink"&gt;Enterprise Library&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; to be used in very powerful ways. We would highly encourage you to check out the work they've done. They have a downloadable binary, a walkthrough of how to use this new capability, and an &lt;a href="http://msdn2.microsoft.com/en-us/magazine/cc164250.aspx" class="externalLink"&gt;MSDN article&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; that covers it. Check it out and give them some feedback. Great job guys! Well done! &lt;a href="http://codeplex.com/EntLibExtensionsWSSF" class="externalLink"&gt;http://codeplex.com/EntLibExtensionsWSSF&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; &lt;i&gt;(23 Apr 2008)&lt;/i&gt;&lt;/li&gt;
&lt;/ul&gt; &lt;br /&gt;&lt;h3&gt;
Info &amp;amp; Release Links
&lt;/h3&gt;&lt;ul&gt;
&lt;li&gt;&lt;a href="http://msdn2.microsoft.com/en-us/library/bb931187.aspx" class="externalLink"&gt;Official Service Factory Homepage on MSDN&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;: Has more high-level information on Service Factory than you'll find here.&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.codeplex.com/servicefactory/Wiki/View.aspx?title=V3KnownIssues&amp;amp;referringTitle=Home"&gt;Service Factory Known Issues&lt;/a&gt;: These are also in the Issue Tracker so you can vote on the ones you want fixed.&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.codeplex.com/servicefactory/Wiki/View.aspx?title=V3Roadmap&amp;amp;referringTitle=Home"&gt;Features, Futures &amp;amp; Scope&lt;/a&gt;: What's in the next version and when it will be available.&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.codeplex.com/servicefactory/Wiki/View.aspx?title=Videos&amp;amp;referringTitle=Home"&gt;Videos&lt;/a&gt;: The Service Factory in action (not yet updated for the modeling edition)&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.codeplex.com/servicefactory/Wiki/View.aspx?title=V3QandA&amp;amp;referringTitle=Home"&gt;Q &amp;amp; A&lt;/a&gt;: Questions that haven't been asked enough to be called a FAQ.&lt;/li&gt;
&lt;/ul&gt; &lt;br /&gt;&lt;h3&gt;
Resource Links
&lt;/h3&gt;&lt;ul&gt;
&lt;li&gt;&lt;a href="http://go.microsoft.com/fwlink/?linkid=102972" class="externalLink"&gt;Service Factory Hands-on Lab&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;: Download the code and instructions here.&lt;/li&gt;&lt;li&gt;&lt;a href="http://go.microsoft.com/fwlink/?LinkId=102973" class="externalLink"&gt;Service Factory Extensibility Hands-on Lab&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;: Download the code and instructions here.&lt;/li&gt;&lt;li&gt;&lt;a href="javascript:window.location.href='http://www.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=servicefactory&amp;amp;DownloadId=5530';"&gt;A small PowerPoint deck&lt;/a&gt; Don used in Tech-Ed Europe this year&lt;/li&gt;&lt;li&gt;&lt;a href="http://msdn2.microsoft.com/en-us/practices/bb190348.aspx" class="externalLink"&gt;Service Factory Blogs&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; by people on the Service Factory team.&lt;/li&gt;
&lt;/ul&gt; &lt;br /&gt;&lt;h3&gt;
Other Very Useful Links
&lt;/h3&gt;&lt;ul&gt;
&lt;li&gt;&lt;a href="http://codeplex.com/wssfcontrib" class="externalLink"&gt;Service Factory Contrib&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://msdn.microsoft.com/practices" class="externalLink"&gt;patterns &amp;amp; practices on MSDN&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.codeplex.com/servicesengine" class="externalLink"&gt;Microsoft Managed Services Engine&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.codeplex.com/esb" class="externalLink"&gt;Microsoft ESB Guidance&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.codeplex.com/entlib" class="externalLink"&gt;Enterprise Library Community&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.codeplex.com/gel" class="externalLink"&gt;GAX Extensions Library Community&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.codeplex.com/websf" class="externalLink"&gt;Web Client Software Factory Community&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.codeplex.com/smartclient" class="externalLink"&gt;Smart Client Guidance Community&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;</description><author>hernandelahitte</author><pubDate>Fri, 19 Sep 2008 18:29:12 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Home 20080919062912P</guid></item><item><title>Updated Wiki: Home</title><link>http://www.codeplex.com/servicefactory/Wiki/View.aspx?title=Home&amp;version=62</link><description>&lt;div class="wikidoc"&gt;
The Web Service Software Factory &amp;#40;also known as the Service Factory&amp;#41; is an integrated collection of tools, patterns, source code and prescriptive guidance. It is designed to help you quickly and consistently construct WCF and ASMX Web services that adhere to well known architecture and design patterns.&lt;br /&gt;
&lt;br /&gt; &lt;br /&gt;&lt;h3&gt;
Announcements
&lt;/h3&gt;&lt;ul&gt;
&lt;li&gt;&lt;b&gt;The Contrib Project is Live!&lt;/b&gt; The long awaited Service Factory Contrib site is finally live and has some great contributions right out of the gate. Thanks to Edward Bakker and our friends at Digit Factory, you can finally generate VB.NET code from your models and automatically generate model elements from your existing WSDL documents using the 2 contributions available right now. Thanks guys, great job! &lt;a href="http://codeplex.com/wssfcontrib" class="externalLink"&gt;http://codeplex.com/wssfcontrib&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; &lt;i&gt;(23 July 2008)&lt;/i&gt; pro&lt;/li&gt;
&lt;/ul&gt;Another &lt;b&gt;new&lt;/b&gt; contrib project is the &lt;b&gt;EntLib Policy Extension&lt;/b&gt; that provides WSSF with the capability of integrating PIAB and WCF in a very simple way. For further details and download go to the contrib project site.&lt;br /&gt;&lt;ul&gt;
&lt;li&gt;&lt;b&gt;EntLib Extensions&lt;/b&gt; Our Dutch brethren (and advisors) over at Avanade have created and released an extension to the Service Factory: Modeling Edition that allows &lt;a href="http://codeplex.com/entlib" class="externalLink"&gt;Enterprise Library&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; to be used in very powerful ways. We would highly encourage you to check out the work they've done. They have a downloadable binary, a walkthrough of how to use this new capability, and an &lt;a href="http://msdn2.microsoft.com/en-us/magazine/cc164250.aspx" class="externalLink"&gt;MSDN article&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; that covers it. Check it out and give them some feedback. Great job guys! Well done! &lt;a href="http://codeplex.com/EntLibExtensionsWSSF" class="externalLink"&gt;http://codeplex.com/EntLibExtensionsWSSF&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; &lt;i&gt;(23 Apr 2008)&lt;/i&gt;&lt;/li&gt;
&lt;/ul&gt; &lt;br /&gt;&lt;h3&gt;
Info &amp;amp; Release Links
&lt;/h3&gt;&lt;ul&gt;
&lt;li&gt;&lt;a href="http://msdn2.microsoft.com/en-us/library/bb931187.aspx" class="externalLink"&gt;Official Service Factory Homepage on MSDN&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;: Has more high-level information on Service Factory than you'll find here.&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.codeplex.com/servicefactory/Wiki/View.aspx?title=V3KnownIssues&amp;amp;referringTitle=Home"&gt;Service Factory Known Issues&lt;/a&gt;: These are also in the Issue Tracker so you can vote on the ones you want fixed.&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.codeplex.com/servicefactory/Wiki/View.aspx?title=V3Roadmap&amp;amp;referringTitle=Home"&gt;Features, Futures &amp;amp; Scope&lt;/a&gt;: What's in the next version and when it will be available.&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.codeplex.com/servicefactory/Wiki/View.aspx?title=Videos&amp;amp;referringTitle=Home"&gt;Videos&lt;/a&gt;: The Service Factory in action (not yet updated for the modeling edition)&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.codeplex.com/servicefactory/Wiki/View.aspx?title=V3QandA&amp;amp;referringTitle=Home"&gt;Q &amp;amp; A&lt;/a&gt;: Questions that haven't been asked enough to be called a FAQ.&lt;/li&gt;
&lt;/ul&gt; &lt;br /&gt;&lt;h3&gt;
Resource Links
&lt;/h3&gt;&lt;ul&gt;
&lt;li&gt;&lt;a href="http://go.microsoft.com/fwlink/?linkid=102972" class="externalLink"&gt;Service Factory Hands-on Lab&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;: Download the code and instructions here.&lt;/li&gt;&lt;li&gt;&lt;a href="http://go.microsoft.com/fwlink/?LinkId=102973" class="externalLink"&gt;Service Factory Extensibility Hands-on Lab&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;: Download the code and instructions here.&lt;/li&gt;&lt;li&gt;&lt;a href="javascript:window.location.href='http://www.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=servicefactory&amp;amp;DownloadId=5530';"&gt;A small PowerPoint deck&lt;/a&gt; Don used in Tech-Ed Europe this year&lt;/li&gt;&lt;li&gt;&lt;a href="http://msdn2.microsoft.com/en-us/practices/bb190348.aspx" class="externalLink"&gt;Service Factory Blogs&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; by people on the Service Factory team.&lt;/li&gt;
&lt;/ul&gt; &lt;br /&gt;&lt;h3&gt;
Other Very Useful Links
&lt;/h3&gt;&lt;ul&gt;
&lt;li&gt;&lt;a href="http://codeplex.com/wssfcontrib" class="externalLink"&gt;Service Factory Contrib&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://msdn.microsoft.com/practices" class="externalLink"&gt;patterns &amp;amp; practices on MSDN&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.codeplex.com/servicesengine" class="externalLink"&gt;Microsoft Managed Services Engine&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.codeplex.com/esb" class="externalLink"&gt;Microsoft ESB Guidance&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.codeplex.com/entlib" class="externalLink"&gt;Enterprise Library Community&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.codeplex.com/gel" class="externalLink"&gt;GAX Extensions Library Community&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.codeplex.com/websf" class="externalLink"&gt;Web Client Software Factory Community&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.codeplex.com/smartclient" class="externalLink"&gt;Smart Client Guidance Community&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;</description><author>hernandelahitte</author><pubDate>Fri, 19 Sep 2008 18:11:36 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Home 20080919061136P</guid></item><item><title>Created Issue: Please Separate Code Generation Strategies from the Service Factory</title><link>http://www.codeplex.com/servicefactory/WorkItem/View.aspx?WorkItemId=7630</link><description>I&amp;#39;m working with another CodePlex project &amp;#40;Configuration Section Designer http&amp;#58;&amp;#47;&amp;#47;www.codeplex.com&amp;#47;csd&amp;#47;&amp;#41;, and wanted to write some unit tests of the customization I was about to make. This customization was to the code generation. I would have liked to use the same techniques used by the Service Factory, as there are examples of how to write unit tests of code generation.&lt;br /&gt;&lt;br /&gt;Unfortunately, the code was a little bit too tightly tied both to the Service Factory and to the Recipe Framework. I was able to move many of the classes from ServiceFactory.Description into CodeGeneration.Strategies, such that there were no references to any of the Microsoft.Practices.ServiceFactory namespaces. However, there were still references to the Recipe Framework. Since the project will not be using a guidance package &amp;#40;yet&amp;#41;, I felt that I shouldn&amp;#39;t use the code this way.&lt;br /&gt;&lt;br /&gt;However, the pieces of the Recipe Framework that it uses seem to be utility classes and such, that could be moved into a more generic Microsoft.Practices namespace. It would be great if you could do that.&lt;br /&gt;</description><author>johnwsaundersiii</author><pubDate>Thu, 18 Sep 2008 22:43:29 GMT</pubDate><guid isPermaLink="false">Created Issue: Please Separate Code Generation Strategies from the Service Factory 20080918104329P</guid></item><item><title>Created Issue: Getting Errors in Consuming WCF Service .cs and output config file to VS 2003 application-Edited</title><link>http://www.codeplex.com/servicefactory/WorkItem/View.aspx?WorkItemId=7629</link><description>Hi&amp;#33;&amp;#33;&lt;br /&gt;I have written WCF service in VS 2008 and using BasicHttpBinding When I tried to consume the WCF service to VS 2003 web application by adding Web Reference method its working but I am trying to add WCF Service to VS 2003 other method using .CS file and output config I am getting the following Error. My Web Service available on local host and refer the attached  file for error. Please help me&amp;#33; &lt;br /&gt; &lt;br /&gt;What should I add to resolve the above errors&amp;#63;&lt;br /&gt;&lt;br /&gt;Thanks&lt;br /&gt;Seenu&lt;br /&gt;</description><author>gvasu_2003</author><pubDate>Thu, 18 Sep 2008 21:24:12 GMT</pubDate><guid isPermaLink="false">Created Issue: Getting Errors in Consuming WCF Service .cs and output config file to VS 2003 application-Edited 20080918092412P</guid></item><item><title>Created Issue: Getting Errors in Consuming WCF Service .cs and output config file to VS 2003 application.</title><link>http://www.codeplex.com/servicefactory/WorkItem/View.aspx?WorkItemId=7628</link><description>Hi&amp;#33;&amp;#33;&lt;br /&gt;I have written WCF service in VS 2008 and using BasicHttpBinding When I tried to consume the WCF service to VS 2003 web application by adding Web Reference method its working but I am trying to add WCF Service to VS 2003 other method using .CS file and output config I am getting the following Error. Please help me&amp;#33;&lt;br /&gt; &lt;br /&gt;What should I add to resolve the above errors&amp;#63;&lt;br /&gt;&lt;br /&gt;Thanks&lt;br /&gt;Seenu&lt;br /&gt;</description><author>gvasu_2003</author><pubDate>Thu, 18 Sep 2008 21:09:53 GMT</pubDate><guid isPermaLink="false">Created Issue: Getting Errors in Consuming WCF Service .cs and output config file to VS 2003 application. 20080918090953P</guid></item><item><title>New Post: Strange proxy code in wrapped requests messages</title><link>http://www.codeplex.com/servicefactory/Thread/View.aspx?ThreadId=35902</link><description>&lt;div style="line-height: normal;"&gt;Hello,&lt;br&gt;
&lt;br&gt;
&lt;p style="margin:0cm 0cm 0pt"&gt;&lt;span style="font-size:10pt;font-family:Arial"&gt;When I generate the proxy for my project I get 2 request objects for a single operation. The request objects are called request message name and request message name1. Let me give you an example: lets say I have an operation called GetArticleByKey with a request message called GetArticleByKeyRequest&amp;nbsp;containing 2&amp;nbsp;int32:s parts called ArticleId&amp;nbsp;and ArticleFamily. The response message GetArticleByKeyResponse&amp;nbsp;returns a&amp;nbsp;DataContractCollection of type&amp;nbsp;ArticleDataList called Articles which can be found in the DataContract togetgher with a DataContract called ArticleData. When I generate the proxy the following code is generated:&lt;br&gt;
&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin:0cm 0cm 0pt"&gt;&lt;span style="font-size:10pt;font-family:Arial"&gt;(To make it easier to read I have replaced the namespace with the word namespace.)&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin:0cm 0cm 0pt"&gt;&lt;span style="font-size:10pt;font-family:Arial"&gt;&lt;br&gt;
namespace.GetArticleByKeyResponse&amp;nbsp;namespace.GetArticleByKey(namespace.GetArticleByKeyRequest1&amp;nbsp;request)&lt;br&gt;
{&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color:blue"&gt;return&lt;/span&gt; &lt;span style="color:blue"&gt;base&lt;/span&gt;.Channel.GetArticleByKey(request);&lt;br&gt;
}&lt;br&gt;
&lt;br&gt;
public namespace.ArticleDataList GetArticleByKey(namespace.GetArticleByKeyRequest&amp;nbsp;GetArticleByKeyRequest&amp;nbsp;)&lt;br&gt;
{&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;namespace.GetArticleByKeyRequest1&amp;nbsp;inValue = new namespace.GetArticleByKeyRequest1();&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;inValue.GetArticleByKeyRequest&amp;nbsp;= GetArticleByKeyRequest;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;namespace.GetArticleByKeyResponse&amp;nbsp;retVal = ((namespace.ServiceContract)(&lt;span style="color:blue"&gt;this&lt;/span&gt;)).GetArticleByKey(inValue);&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;return retVal.Articles;&lt;br&gt;
}&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
If you look at an old operation that I generated before this problem occured the generated code should have looked like this:&lt;br&gt;
&lt;br&gt;
namespace.GetArticleByKeyResponse&amp;nbsp;namespace.GetArticleByKey(namespace.GetArticleByKeyRequest&amp;nbsp;request)&lt;br&gt;
{&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color:blue"&gt;return base.Channel.GetArticleByKey(&lt;/span&gt;request);&lt;br&gt;
}&lt;br&gt;
&lt;br&gt;
public namespace.ArticleDataList GetArticleByKey(int ArticleId, int ArticleFamily)&lt;br&gt;
{&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;namespace.GetArticleByKeyRequest&amp;nbsp;inValue = new GetArticleByKeyRequest();&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;inValue.ArticleId&amp;nbsp;= ArticleId;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;inValue.ArticleFamily = ArticleFamily;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;namespace.GetArticleByKeyResponse&amp;nbsp;retVal = ((namespace.ServiceContract)(&lt;span style="color:blue"&gt;this&lt;/span&gt;)).GetArticleByKey(inValue);&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;return retVal.Articles;&lt;br&gt;
}&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
If you look at the generated code in the &amp;nbsp;ServiceContract, the MessageContract and in the service&amp;nbsp;xml file&amp;nbsp;there are no mention of GetArticleByKeyRequest&amp;nbsp;only GetArticleByKeyRequest. I&amp;nbsp;have also made sure to&amp;nbsp;delete the old proxy and cleanded out app.config before I regenerated&amp;nbsp;the proxy.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin:0cm 0cm 0pt"&gt;&lt;span style="font-size:10pt;font-family:Arial"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin:0cm 0cm 0pt"&gt;&lt;span style="font-size:10pt;font-family:Arial"&gt;This only seems to apply to wrapped request messages, can you somehow configure how wrapped request messages should be generated?&lt;br&gt;
&lt;br&gt;
//Kind regards&lt;br&gt;
Martin Gredin&lt;/span&gt;&lt;/p&gt;
&lt;/div&gt;</description><author>Martin527</author><pubDate>Thu, 18 Sep 2008 08:55:37 GMT</pubDate><guid isPermaLink="false">New Post: Strange proxy code in wrapped requests messages 20080918085537A</guid></item><item><title>New Post: FaultException and entries in the EventLog</title><link>http://www.codeplex.com/servicefactory/Thread/View.aspx?ThreadId=35817</link><description>&lt;div style="line-height: normal;"&gt;Hi&lt;br&gt;
&lt;br&gt;
I'm using Enterprise Library 3.1 and want to log exceptions in the EventLog. The problem&amp;nbsp;is that I cannot see the stacktrace in the EventLog, without that there is not mutch help in the EventLog entry. So how could I get the StackTrace of the exception in the EventLog?&lt;br&gt;
&lt;br&gt;
In my Service implementation class I have this code when an exception occur:&lt;br&gt;
&lt;span style="font-size:10px;color:#0000ff"&gt;&lt;span style="font-size:10px;color:#0000ff"&gt;
&lt;p&gt;catch &lt;/p&gt;
&lt;/span&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;/span&gt;
&lt;p&gt;&lt;span style="font-size:10px"&gt;(&lt;/span&gt;&lt;span style="font-size:10px;color:#2b91af"&gt;&lt;span style="font-size:10px;color:#2b91af"&gt;Exception&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:10px"&gt; e)&lt;br&gt;
{&lt;br&gt;
&lt;/span&gt;&lt;span style="font-size:10px;color:#2b91af"&gt;&lt;span style="font-size:10px;color:#2b91af"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ServiceFault&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:10px"&gt; fault = &lt;/span&gt;&lt;span style="font-size:10px;color:#0000ff"&gt;&lt;span style="font-size:10px;color:#0000ff"&gt;new&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:10px"&gt; &lt;/span&gt;&lt;span style="font-size:10px;color:#2b91af"&gt;&lt;span style="font-size:10px;color:#2b91af"&gt;ServiceFault&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:10px"&gt;();&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;fault.Message = e.Message;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;fault.Source = e.Source;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;fault.StackTrace = e.StackTrace;&amp;nbsp;&lt;br&gt;
&lt;/span&gt;&lt;span style="font-size:10px;color:#0000ff"&gt;&lt;span style="font-size:10px;color:#0000ff"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;throw&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:10px"&gt; &lt;/span&gt;&lt;span style="font-size:10px;color:#0000ff"&gt;&lt;span style="font-size:10px;color:#0000ff"&gt;new&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:10px"&gt; &lt;/span&gt;&lt;span style="font-size:10px;color:#2b91af"&gt;&lt;span style="font-size:10px;color:#2b91af"&gt;FaultException&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:10px"&gt;&amp;lt;&lt;/span&gt;&lt;span style="font-size:10px;color:#2b91af"&gt;&lt;span style="font-size:10px;color:#2b91af"&gt;ServiceFault&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:10px"&gt;&amp;gt;(fault,&lt;/span&gt;&lt;span style="font-size:10px;color:#0000ff"&gt;&lt;span style="font-size:10px;color:#0000ff"&gt;new&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:10px"&gt; &lt;/span&gt;&lt;span style="font-size:10px;color:#2b91af"&gt;&lt;span style="font-size:10px;color:#2b91af"&gt;FaultReason&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:10px"&gt;(e.Message));&lt;br&gt;
}&lt;br&gt;
&lt;br&gt;
&lt;/span&gt;In web.config I have the Exception Handling Application Block and Logging Application Block, I want to log exceptions that first is handled by an Fault Contract Exception Handler followed by an Logging Handler like this (using WCF Exception Shielding):&lt;br&gt;
&lt;br&gt;
&amp;lt;exceptionHandling&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;exceptionPolicies&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;add name=&amp;quot;WCF Exception Shielding&amp;quot;&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;exceptionTypes&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;add type=&amp;quot;System.Exception, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089&amp;quot;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; postHandlingAction=&amp;quot;ThrowNewException&amp;quot; name=&amp;quot;Exception&amp;quot;&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;exceptionHandlers&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;add faultContractType=&amp;quot;FaultContracts.ServiceFault, FaultContracts&amp;quot;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; exceptionMessage=&amp;quot;Exception in service.&amp;quot; type=&amp;quot;Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.WCF.FaultContractExceptionHandler, Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.WCF, Version=3.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a&amp;quot;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; name=&amp;quot;Fault Contract Exception Handler&amp;quot;&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;mappings&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;add source=&amp;quot;Message&amp;quot; name=&amp;quot;Message&amp;quot; /&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;add source=&amp;quot;Source&amp;quot; name=&amp;quot;Source&amp;quot; /&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;add source=&amp;quot;StackTrace&amp;quot; name=&amp;quot;StackTrace&amp;quot; /&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/mappings&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/add&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;add logCategory=&amp;quot;General&amp;quot; eventId=&amp;quot;100&amp;quot; severity=&amp;quot;Error&amp;quot; title=&amp;quot;Service Exception&amp;quot;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; formatterType=&amp;quot;Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.TextExceptionFormatter, Microsoft.Practices.EnterpriseLibrary.ExceptionHandling, Version=3.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a&amp;quot;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; priority=&amp;quot;0&amp;quot; type=&amp;quot;Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.Logging.LoggingExceptionHandler, Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.Logging, Version=3.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a&amp;quot;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; name=&amp;quot;Logging Handler&amp;quot; /&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/exceptionHandlers&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/add&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/exceptionTypes&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/add&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/exceptionPolicies&amp;gt;&lt;br&gt;
&amp;nbsp; &amp;lt;/exceptionHandling&amp;gt;&lt;br&gt;
&lt;/p&gt;
&lt;/div&gt;</description><author>RightCoder</author><pubDate>Wed, 17 Sep 2008 09:25:41 GMT</pubDate><guid isPermaLink="false">New Post: FaultException and entries in the EventLog 20080917092541A</guid></item><item><title>New Post: Encapsulating conversion of managed Exceptions to WCF Fault Exceptions</title><link>http://www.codeplex.com/servicefactory/Thread/View.aspx?ThreadId=35717</link><description>&lt;div style="line-height: normal;"&gt;From the home page:&lt;br&gt;
&lt;br&gt;
&lt;li&gt;&lt;b&gt;EntLib Extensions&lt;/b&gt; Our Dutch brethren (and advisors) over at Avanade have created and released an extension to the Service Factory: Modeling Edition that allows &lt;a class=externalLink href="http://codeplex.com/entlib"&gt;&lt;span style="color:#3e62a6"&gt;Enterprise Library&lt;span class=externalLinkIcon&gt;&lt;/span&gt;&lt;/span&gt;&lt;/a&gt; to be used in very powerful ways. We would highly encourage you to check out the work they've done. They have a downloadable binary, a walkthrough of how to use this new capability, and an &lt;a class=externalLink href="http://msdn2.microsoft.com/en-us/magazine/cc164250.aspx"&gt;MSDN article&lt;span class=externalLinkIcon&gt;&lt;/span&gt;&lt;/a&gt; that covers it. Check it out and give them some feedback. Great job guys! Well done! &lt;a class=externalLink href="http://codeplex.com/EntLibExtensionsWSSF"&gt;http://codeplex.com/EntLibExtensionsWSSF&lt;span class=externalLinkIcon&gt;&lt;/span&gt;&lt;/a&gt; &lt;i&gt;(23 Apr 2008)&lt;/i&gt; &lt;/li&gt;
&lt;/div&gt;</description><author>johnwsaundersiii</author><pubDate>Tue, 16 Sep 2008 19:54:49 GMT</pubDate><guid isPermaLink="false">New Post: Encapsulating conversion of managed Exceptions to WCF Fault Exceptions 20080916075449P</guid></item><item><title>New Post: Error :when Generating   Code of MaterialMgmt Service Reference </title><link>http://www.codeplex.com/servicefactory/Thread/View.aspx?ThreadId=17774</link><description>&lt;div style="line-height: normal;"&gt;Hi Everyone,&lt;br&gt;
&lt;br&gt;
Never mind.&amp;nbsp; I just rebuilt it and didn't get the error this time.&amp;nbsp; I must have done something different but I'm not sure what it was.&lt;br&gt;
&lt;br&gt;
Thanks.
&lt;/div&gt;</description><author>Jasper7</author><pubDate>Tue, 16 Sep 2008 15:49:21 GMT</pubDate><guid isPermaLink="false">New Post: Error :when Generating   Code of MaterialMgmt Service Reference  20080916034921P</guid></item><item><title>New Post: Error :when Generating   Code of MaterialMgmt Service Reference </title><link>http://www.codeplex.com/servicefactory/Thread/View.aspx?ThreadId=17774</link><description>&lt;div style="line-height: normal;"&gt;Hi Everyone,&lt;br&gt;
Was there ever a solution posted to this problem?&amp;nbsp; I just received the same error when clicking the Generate Proxy link on the Host page.&lt;br&gt;
&lt;br&gt;
Thanks!
&lt;/div&gt;</description><author>Jasper7</author><pubDate>Tue, 16 Sep 2008 14:27:26 GMT</pubDate><guid isPermaLink="false">New Post: Error :when Generating   Code of MaterialMgmt Service Reference  20080916022726P</guid></item><item><title>New Post: Encapsulating conversion of managed Exceptions to WCF Fault Exceptions</title><link>http://www.codeplex.com/servicefactory/Thread/View.aspx?ThreadId=35717</link><description>&lt;div style="line-height: normal;"&gt;&lt;pre&gt;I want to adopt a concise and consistent approach to converting managed .NET exceptions into WCF Service Fault&lt;br&gt;Exceptions. For example, if I have a CustomerNotFoundException exception that gets thrown by a Data Access layer, and I want to catch it and rethrow as a Fault contract you previously defined, to allow WCF&lt;br&gt;Service clients to be notified of the exception based on recommended WCF practices.&lt;br&gt;&lt;br&gt;My current solution is to use the Factory pattern with a class that encapsulates the code for converting from managed .NET exceptions to defined Fault contract exceptions. If no custom Fault contract is&lt;br&gt;defined to match the managed exception then a default FaultException is created instead. The benefit of using the Factory pattern to achieve&lt;br&gt;this is that the code in your try-catch blocks is always the same.&lt;br&gt;&lt;br&gt;&lt;strong&gt;Therefore My question is: Is this an appropriate solution? Or is their another way to 'map' managed exceptions coming from other layers in your code to Fault Exceptions in WCF?&lt;/strong&gt;&lt;/pre&gt;
&lt;pre&gt;The FaultExceptionFactory code (C#) that implements this approach is as follows:&lt;/pre&gt;
&lt;p&gt;&lt;code&gt;using System;&lt;br&gt;
using System.Collections.Generic;&lt;br&gt;
using System.Linq;&lt;br&gt;
using System.Text;&lt;br&gt;
using System.ServiceModel;&lt;br&gt;
//TODO: Add any other relevant using statements here for your own implementations.&lt;br&gt;
&lt;br&gt;
namespace BlueTemple.Examples&lt;br&gt;
{&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
/// &amp;lt;summary&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
/// Creates WCF Service &amp;lt;c&amp;gt;FaultException&amp;lt;/c&amp;gt; objects from managed &amp;lt;c&amp;gt;Exception&amp;lt;/c&amp;gt; objects by matching known WCF Fault contracts. &lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
/// If no matching Fault contract exists &amp;lt;c&amp;gt;Exception&amp;lt;/c&amp;gt; is returned instead.&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
/// &amp;lt;/summary&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
/// &amp;lt;example&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
/// try&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
/// {&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ///&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;     // Call to other code e.g. Data Access Layer&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
/// }&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
/// catch(Exception ex)&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
/// {&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
/// &amp;nbsp; &amp;nbsp;&amp;nbsp;    throw FaultExceptionFactory.Create(ex);&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
/// } &lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
/// &amp;lt;/example&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
static class FaultExceptionFactory&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
{&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
public static FaultException Create(Exception sourceException)&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
{&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
FaultException faultException = null;&lt;br&gt;
&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
if (sourceException is CustomerAlreadyExistsException)&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
{&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
CustomerAlreadyExistsFault Fault = new CustomerAlreadyExistsFault();&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
Fault.Message = sourceException.Message;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
faultException = new FaultException&amp;lt;CustomerAlreadyExistsFault&amp;gt;(Fault, &amp;quot;Customer already exists!&amp;quot;);&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
}&lt;br&gt;
&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
if (faultException == null)&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
{&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
// If no match with a known Fault contract then use a new Exception with the message only so as to hide sensitive data&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
// from the client.&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; faultException = new FaultException&amp;lt;Exception&amp;gt;(new Exception(sourceException.Message), sourceException.Message);&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
}&lt;br&gt;
&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
return faultException;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
}&lt;br&gt;
}
&lt;/code&gt;
&lt;/p&gt;
&lt;/div&gt;</description><author>TCC</author><pubDate>Tue, 16 Sep 2008 00:47:23 GMT</pubDate><guid isPermaLink="false">New Post: Encapsulating conversion of managed Exceptions to WCF Fault Exceptions 20080916124723A</guid></item><item><title>New Post: Requirement to install web service software factory with vs 2008</title><link>http://www.codeplex.com/servicefactory/Thread/View.aspx?ThreadId=35236</link><description>&lt;div style="line-height: normal;"&gt;Thanks a lot for your reply....&lt;br&gt;
well, some of my doubts are clear now. But some are there to clarify.&lt;br&gt;
here below i am just mentioning those...&lt;br&gt;
1. WSSF Dec-2006 release was more comfortable , this new WSSF Modeling Edition seems to be Confusable.&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; In WSSF DEc-2006 release, if we right click Bussiness Entities Layer and select the options(like: create CRUD storeproceudres from DB...etc), it iwll automatically generate the codes... but here where i have to connect with the DB, i mean&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; where i can create reposotory classess...&lt;br&gt;
2. In WSSF Dec-2006 release, i am able to generate codes using the recipes.. but here i am not able to create.&lt;br&gt;
3. What is the advantage of WSSF ME Feb- 2007 release over WSSF Dec-206 release ?&lt;br&gt;
4. if i want the same functinality that WSSF Dec-2006 performs, with VS 2008. what should i do ?&lt;br&gt;
&lt;br&gt;
Am i clear... please tell me if i am breaking in between...&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
Thanks in advance....&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;</description><author>nimesh</author><pubDate>Mon, 15 Sep 2008 10:11:23 GMT</pubDate><guid isPermaLink="false">New Post: Requirement to install web service software factory with vs 2008 20080915101123A</guid></item><item><title>New Post: Reuse of DataContracts</title><link>http://www.codeplex.com/servicefactory/Thread/View.aspx?ThreadId=35533</link><description>&lt;div style="line-height: normal;"&gt;Hi tmanthey, check out this other post which explains two possible workarounds to achieve this task:&amp;nbsp;&lt;a href="http://www.codeplex.com/servicefactory/Thread/View.aspx?ThreadId=30350"&gt;http://www.codeplex.com/servicefactory/Thread/View.aspx?ThreadId=30350&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
Thanks
&lt;/div&gt;</description><author>diegomonroy</author><pubDate>Fri, 12 Sep 2008 13:14:36 GMT</pubDate><guid isPermaLink="false">New Post: Reuse of DataContracts 20080912011436P</guid></item></channel></rss>