Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / June 2005

Tip: Looking for answers? Try searching our database.

Configure SOAP extension

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Ramon de Klein - 22 Jun 2005 12:41 GMT
I have created a SOAP extension that can be enabled using a
SoapExtensionAttribute. 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.

Signature

Greetings,
Ramon de Klein

Ragunathan - 23 Jun 2005 10:19 GMT
See whether the following would help u.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cp
conAlteringSOAPMessageUsingSOAPExtensions.asp


Thanks,
Ragu

> I have created a SOAP extension that can be enabled using a
> SoapExtensionAttribute. This attibute holds two additional properties that
[quoted text clipped - 8 lines]
>
> Anyone has an idea how to do this? I am using the .NET Framework v1.1.
Ramon de Klein - 23 Jun 2005 10:28 GMT
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 <soapExtensionTypes>. That would
be a lot easier and more friendly to the person that needs to configure it.
Signature

Greetings,
Ramon de Klein

> See whether the following would help u.
>
[quoted text clipped - 15 lines]
> >
> > Anyone has an idea how to do this? I am using the .NET Framework v1.1.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.