Locked Boiler plate not auto generated Web Method client

  • Monday, August 20, 2012 8:03 PM
     
     

    Hello,

    First, yes, I know: avoid this technology if at all possible. It's obsolete. Try telling my colleagues that. It's obsolete.

    Second, I want to setup a client proxy that does not import its web reference (except for "reference" purposes, so to speak). I need to be able to customize things like Url, Namespace, etc, without hard coding them.

    Is there some good boiler plate code that demonstrates how this can be done?

    Best regards,

    Michael

All Replies

  • Tuesday, August 28, 2012 1:37 AM
    Moderator
     
     

    Can you be more precise  about what you're trying to accomplish? You can already customize the URL by setting the Url property of your proxy instance.

    When you say "customizing the namespace", do you mean the XML namespace, or the .NET namespace?


    John Saunders
    WCF is Web Services. They are not two separate things.
    Use WCF for All New Web Service Development, instead of legacy ASMX or obsolete WSE
    Use File->New Project to create Web Service Projects