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 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
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
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
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 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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"?>
|
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...
|
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.";
|
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...
|
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,...
| |
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 :
|
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
{
|
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...
|
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";
|
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...
|
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. ...
| |
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...
|
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...
|
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...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
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
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
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...
| |