G
Guest
Hello, I want to log the soap requests (and responses) in my C# webservice
consumer. I have extended my class with the SoapExtension, but the debugger
don't step into the overridden methods. The WSClient class is running as part
of a console application as administrator.
Why doesn't the debugger step into my methods?
Here is my code.
Thank You
Joachim
public class WSClient : SoapExtension{
public WSClient() {
// ...
}
public string callMethod() {
WebReference1.Service1 myService = new
WebReference1.SSODivaServiceService();
string myValue = myService.getResult();
return myValue;
}
public override void ProcessMessage(SoapMessage message){
string mess = message.ToString();
}
public override object GetInitializer(System.Type type){
return @"C:\temp\log1.txt";
}
public override void Initialize(object o){
string name = o.ToString();
}
public override object GetInitializer(LogicalMethodInfo methodInfo,
SoapExtensionAttribute attribute) {
return @"C:\temp\log2.txt";
}
}
consumer. I have extended my class with the SoapExtension, but the debugger
don't step into the overridden methods. The WSClient class is running as part
of a console application as administrator.
Why doesn't the debugger step into my methods?
Here is my code.
Thank You
Joachim
public class WSClient : SoapExtension{
public WSClient() {
// ...
}
public string callMethod() {
WebReference1.Service1 myService = new
WebReference1.SSODivaServiceService();
string myValue = myService.getResult();
return myValue;
}
public override void ProcessMessage(SoapMessage message){
string mess = message.ToString();
}
public override object GetInitializer(System.Type type){
return @"C:\temp\log1.txt";
}
public override void Initialize(object o){
string name = o.ToString();
}
public override object GetInitializer(LogicalMethodInfo methodInfo,
SoapExtensionAttribute attribute) {
return @"C:\temp\log2.txt";
}
}