CodeSmith Community
Your Code. Your Way. Faster!

WCF provider for Nettiers

Latest post 06-04-2007 1:23 PM by katokay. 3 replies.
  • 06-01-2007 4:15 PM

    • drchip
    • Not Ranked
    • Joined on 05-23-2006
    • Posts 5
    • Points 145

    WCF provider for Nettiers

    The attached is the patch to integrate WCF with Nettiers. This patch is for SVN 555 release. I based this patch on the webservice and webserviceclient templates.

    Here are a few manual steps after you've generated the code with the templates

    1. Use svcutil to generate the proxy class.
    2. Copy the code in generated proxy class and paste it into the WcfProxy.cs in WcfClient/Helpers. So your WcfProxy.cs should looks similar to code as shown below.

    namespace AdventureWorks.Data.WcfClient.WcfProxy
    {
    //------------------------------------------------------------------------------
    // <auto-generated>
    // This code was generated by a tool.
    // Runtime Version:2.0.50727.42
    //
    // Changes to this file may cause incorrect behavior and will be lost if
    // the code is regenerated.
    // </auto-generated>
    //------------------------------------------------------------------------------

    using System.Data;

    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
    [System.ServiceModel.ServiceContractAttribute(ConfigurationName = "IAdventureWorksServices")]
    public interface IAdventureWorksServices
    {
    ...........

    } //end namespace

    Filed under:
    • Post Points: 35
  • 06-02-2007 9:34 AM In reply to

    • katokay
    • Top 25 Contributor
    • Joined on 07-09-2006
    • Salt Lake City, UT
    • Posts 143
    • Points 3,190

    Re: WCF provider for Nettiers

    Is there any way you can post the svn patch?

    • Post Points: 5
  • 06-02-2007 3:10 PM In reply to

    • drchip
    • Not Ranked
    • Joined on 05-23-2006
    • Posts 5
    • Points 145

    Re: WCF provider for Nettiers

    This update includes a svn patch and a few corrections to the template. This patch is for the svc 567 release.
    Filed under:
    • Post Points: 35
  • 06-04-2007 1:23 PM In reply to

    • katokay
    • Top 25 Contributor
    • Joined on 07-09-2006
    • Salt Lake City, UT
    • Posts 143
    • Points 3,190

    Re: WCF provider for Nettiers

    Well, I would love to test this out. Unfortunately all the casing issues in the current svn codebase prevent me from compiling and I don't have time to fix all the issues myself. Hopefully these issues can be resolved soon...
    • Post Points: 5
Page 1 of 1 (4 items) | RSS
Copyright © 2008 CodeSmith Tools, LLC
Powered by Community Server (Commercial Edition), by Telligent Systems