Configure SOAP extension

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Ramon de Klein

    Configure SOAP extension

    I have created a SOAP extension that can be enabled using a
    SoapExtensionAt tribute. This attibute holds two additional properties that
    are used to configure the SOAP extension. This works fine, but I often want
    to use the SOAP extension from my web.config file and I have no idea how to
    configure it.

    The SOAP extension's GetInitializer method only receives the type of the
    webservice, but that isn't very useful for me. Adding the attribute by hand
    for all webservices that use the extension is too much work and defeats the
    transparancy of the extension.

    Anyone has an idea how to do this? I am using the .NET Framework v1.1.

    --
    Greetings,
    Ramon de Klein
  • Ragunathan

    #2
    RE: Configure SOAP extension

    See whether the following would help u.



    Thanks,
    Ragu

    "Ramon de Klein" wrote:
    [color=blue]
    > I have created a SOAP extension that can be enabled using a
    > SoapExtensionAt tribute. This attibute holds two additional properties that
    > are used to configure the SOAP extension. This works fine, but I often want
    > to use the SOAP extension from my web.config file and I have no idea how to
    > configure it.
    >
    > The SOAP extension's GetInitializer method only receives the type of the
    > webservice, but that isn't very useful for me. Adding the attribute by hand
    > for all webservices that use the extension is too much work and defeats the
    > transparancy of the extension.
    >
    > Anyone has an idea how to do this? I am using the .NET Framework v1.1.
    >
    > --
    > Greetings,
    > Ramon de Klein[/color]

    Comment

    • Ragunathan

      #3
      RE: Configure SOAP extension

      See whether the following would help u.



      Thanks,
      Ragu

      "Ramon de Klein" wrote:
      [color=blue]
      > I have created a SOAP extension that can be enabled using a
      > SoapExtensionAt tribute. This attibute holds two additional properties that
      > are used to configure the SOAP extension. This works fine, but I often want
      > to use the SOAP extension from my web.config file and I have no idea how to
      > configure it.
      >
      > The SOAP extension's GetInitializer method only receives the type of the
      > webservice, but that isn't very useful for me. Adding the attribute by hand
      > for all webservices that use the extension is too much work and defeats the
      > transparancy of the extension.
      >
      > Anyone has an idea how to do this? I am using the .NET Framework v1.1.
      >
      > --
      > Greetings,
      > Ramon de Klein[/color]

      Comment

      • Ramon de Klein

        #4
        RE: Configure SOAP extension

        This is the basic documentation with which I am familiar. It doesn't describe
        anything about adding custom configuration properties for the SoapExtension
        when used in web.config.

        Suppose I want the directory to which the log-files are being sent to be
        configurable. I think I need a special section in the web.config file to do
        this. I would rather specify it within the <soapExtensionT ypes>. That would
        be a lot easier and more friendly to the person that needs to configure it.
        --
        Greetings,
        Ramon de Klein


        "Ragunathan " wrote:
        [color=blue]
        > See whether the following would help u.
        >
        > http://msdn.microsoft.com/library/de...Extensions.asp
        >
        > Thanks,
        > Ragu
        >
        > "Ramon de Klein" wrote:
        >[color=green]
        > > I have created a SOAP extension that can be enabled using a
        > > SoapExtensionAt tribute. This attibute holds two additional properties that
        > > are used to configure the SOAP extension. This works fine, but I often want
        > > to use the SOAP extension from my web.config file and I have no idea how to
        > > configure it.
        > >
        > > The SOAP extension's GetInitializer method only receives the type of the
        > > webservice, but that isn't very useful for me. Adding the attribute by hand
        > > for all webservices that use the extension is too much work and defeats the
        > > transparancy of the extension.
        > >
        > > Anyone has an idea how to do this? I am using the .NET Framework v1.1.
        > >
        > > --
        > > Greetings,
        > > Ramon de Klein[/color][/color]

        Comment

        • Ramon de Klein

          #5
          RE: Configure SOAP extension

          This is the basic documentation with which I am familiar. It doesn't describe
          anything about adding custom configuration properties for the SoapExtension
          when used in web.config.

          Suppose I want the directory to which the log-files are being sent to be
          configurable. I think I need a special section in the web.config file to do
          this. I would rather specify it within the <soapExtensionT ypes>. That would
          be a lot easier and more friendly to the person that needs to configure it.
          --
          Greetings,
          Ramon de Klein


          "Ragunathan " wrote:
          [color=blue]
          > See whether the following would help u.
          >
          > http://msdn.microsoft.com/library/de...Extensions.asp
          >
          > Thanks,
          > Ragu
          >
          > "Ramon de Klein" wrote:
          >[color=green]
          > > I have created a SOAP extension that can be enabled using a
          > > SoapExtensionAt tribute. This attibute holds two additional properties that
          > > are used to configure the SOAP extension. This works fine, but I often want
          > > to use the SOAP extension from my web.config file and I have no idea how to
          > > configure it.
          > >
          > > The SOAP extension's GetInitializer method only receives the type of the
          > > webservice, but that isn't very useful for me. Adding the attribute by hand
          > > for all webservices that use the extension is too much work and defeats the
          > > transparancy of the extension.
          > >
          > > Anyone has an idea how to do this? I am using the .NET Framework v1.1.
          > >
          > > --
          > > Greetings,
          > > Ramon de Klein[/color][/color]

          Comment

          Working...