First, I'll say I am not making this up. I have a web method implemented in a asmx file like this:
[WebMethod]
[SoapDocumentMethod(OneWay=true)]
public void Method1(INPUT oInput)
{
// Call SQL stored procedure SP1
// Call SQL stored procedure SP2
}
Using SQL Server Profiler I see stored SP1 get called, but SP2 does not. If I set OneWay=false, both SP1 and SP2 get called.
Here's the weird part. I leave OneWay=true but I set <trace enabled="true">
over in the web config file, both SP1 and SP2 get called. No really!
I will try posting more sample code after I par it down to the minimums. In the mean time, does anyone know of a bug in ASP.NET 3.5 SP1 that might be causing this?
Charles