J
john conwell
I'm creating a custom soap extension and i've got my two classes that inherit from SoapExtension and SoapExtensionAttribute respectivly. I've wrtitten my custom attribute to have an overloaded constructor to take a filename string. The problem is that i cant figure out how to access the custom attribute in my custom SoapExtension class in order to get the filename. The SoapMessage object that is passed into ProcessMessage has a private 'allExtensions' collection that holds an instance to my soap extension. I could use reflection to call this private property to get the instance of my attribute class, but that wouldnt be very fast. Is there something i'm missing here? Is there no way to access public properties of your custom SoapExtensionAttribute classes?
thanks,
John
thanks,
John