I have a PHP SOAP (NuSOAP) web service method that returns a boolean value. I've executed the method in a 3rd party test application, and it seems to return the value fine. If I look directly at the XML message that's returned, it looks fine as well - returns "true" and "false" when it's supposed to.
However, when I write a sample application in .NET 2.0 to consume the web service method, it always returns false. If the return value is requested as a boolean, it's always false. If it's requested as a string, I get an empty string. Oddly enough, when I use a mock SOAP service to return exactly the same SOAP response, .NET is able to parse it correctly. So, my current theory is that the problem is not with the response itself, but with the headers - something is different about what PHP is doing.
Does anyone know what's going on here? Is it a known issue with PHP's SOAP implementation?
Thanks!