473,385 Members | 2,005 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Configure SOAP extension

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.

--
Greetings,
Ramon de Klein
Nov 23 '05 #1
4 6486
See whether the following would help u.

http://msdn.microsoft.com/library/de...Extensions.asp

Thanks,
Ragu

"Ramon de Klein" wrote:
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.

--
Greetings,
Ramon de Klein

Nov 23 '05 #2
See whether the following would help u.

http://msdn.microsoft.com/library/de...Extensions.asp

Thanks,
Ragu

"Ramon de Klein" wrote:
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.

--
Greetings,
Ramon de Klein

Nov 23 '05 #3
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.
--
Greetings,
Ramon de Klein
"Ragunathan" wrote:
See whether the following would help u.

http://msdn.microsoft.com/library/de...Extensions.asp

Thanks,
Ragu

"Ramon de Klein" wrote:
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.

--
Greetings,
Ramon de Klein

Nov 23 '05 #4
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.
--
Greetings,
Ramon de Klein
"Ragunathan" wrote:
See whether the following would help u.

http://msdn.microsoft.com/library/de...Extensions.asp

Thanks,
Ragu

"Ramon de Klein" wrote:
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.

--
Greetings,
Ramon de Klein

Nov 23 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: David | last post by:
Hi everyone, I wonder how is it possible to make PHP SOAP extension convert the returned complex type to an instance of one of my classes. Here I give you a short example: complexTest.wsdl:...
1
by: David C. allen | last post by:
I have created a simple Client-side SOAP Extension for a webclass that I have. When I apply the extension attribute to the the calling function in the proxy class I get an error 'Value cannot be...
4
by: pepcag | last post by:
I used http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconalteringsoapmessageusingsoapextensions.asp as a template to create a very simple web method with soap...
0
by: Ramon de Klein | last post by:
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...
0
by: zac# | last post by:
i interesting to try using soap extension, and i using sample on msdn. but when i debug my soap extension, i have error message... i invoke soap extension using client desktop application, i want...
0
by: Robert Rotstein | last post by:
I want to write a SOAP extension that gets activated from both the client and the server. From whast I have read, this should be quite easy to do. Yet I can only activate it from the server. I...
0
by: Robert Rotstein | last post by:
I want to write a SOAP extension that gets activated from both the client and the server. But so far, I have only been able to activate from the server. I have a service (.asmx file) which...
2
by: Frederik Vanderhaegen | last post by:
Hi, I'm writing a simple soap extension for a webservice I developed (without the use of an extension the webservice works perfect). The extension is registered through the web.config files of...
1
by: klerik123456 | last post by:
I try set soap extension attributes on client side. For example: Implementation in web service: public class EncryptMessageAttribute : SoapExtensionAttribute { private string...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.