User2043281626 posted
Hello,
I created a sample WCF service and I have a method defined on my service contract that takes 2 parameters; both strings and returns a boolean. During testing I found that both parameters are null and this seems to be because I am returning a boolean value
on the method. I also noticed that during compilation I get the following warning message; "The parameter to the compiler is invalid". This message occurs twice and I am assuming its in reference to the paramaters not being valid because of my return type.
If I remove the return type; boolean, and don't return anything the values are not null. Is there some way I can work around this issue? I need to be able to return a flag, such as as a boolean; true or false, for this method. Is this in some way related to
"One-Way" operations?
Any help will be greatly appreciated!