This is very odd, and I'm just wondering if anyone can explain this to me. I have a web service run by traditional old asmx style web services. We had a public property that was used in a internal method that was not displayed to consumers like this:
public class User {
public string EmployeeID;
protected override void DoSomething(){
var foo = EmployeeId;
}
}
now here is the weird part. We decided the get rid of this field. But because Apache Axis clients are tied to a particular wsdl, we did not want to remove it from the wsdl. So we left the property but removed its usages in the internal methods. When we did this the property suddenly went missing from the WSDL...but ONLY on servers running IIS6. Developers running IIS 5.1 still get the property.
We ended up putting a trivial usage back into the methods (getting and setting it into a empty string.) and suddenly it showed up again on IIS6 servers.
Whats up with that?