473,569 Members | 2,683 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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
Nov 23 '05 #1
4 6498
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
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

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
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

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 <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:
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
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

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 <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:
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
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

Nov 23 '05 #5

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

Similar topics

0
2616
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: <?xml version="1.0" encoding="UTF-8"?>
1
5717
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 null'. When the extension attribute is not applied it runs fine. The wierd thing is that it does not appear to be an error within the SOAP extension...
4
6006
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 extension. The code like this: public string HelloWorld() { return "Hello World.";
0
307
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 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...
0
1138
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 to ask some question : 1. am i must installing WSE 1.0 on my server to resolve my problem?? 2. do you have simple soap extension (c#) for example,...
0
1380
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 have a service (.asmx file) which contains the following: namespace OfficerCallIn { public class OfficerCallInService :
0
1325
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 contains the following: namespace OfficerCallIn {
2
4024
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 my webservice and my application. In my extension I override the Chainstream method and implement the abstract methods (GetInitializer, Initialize...
1
4812
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 strKey="null";
0
7698
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7924
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7970
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
5219
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3653
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3640
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2113
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1213
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
937
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.