Thursday, October 8, 2009

Microsoft MSDN site code for adding SOAP extensions fails...?

http://msdn2.microsoft.com/en-us/library...



This compiles correctly and runs without runtime error...but, when run, the c:\log.txt file is never created in my SOAP application (which already sends and receives messages correctly) and thus the SOAP "logging extension" never appears to execute.



Any ideas why this may be happening or what's needed to make the code work, other than copying and compiling it?



Microsoft MSDN site code for adding SOAP extensions fails...?norton internet security



Sounds like you may still need to configure the WebMethod(s) to use the TraceExtensionAttribute.



Try putting this attribute code in your web service over each webmethod you want to utilize the extension:



[TraceExtension]



[WebMethod]



public string %26lt;YourWebMethod(string parm)%26gt;



%26#123;



...



%26#125;

No comments:

Post a Comment