Why is powershell adding additional parameters to Web Service Method Signatures Why is powershell adding additional parameters to Web Service Method Signatures powershell powershell

Why is powershell adding additional parameters to Web Service Method Signatures


Read this question I asked a long time ago:

Strange behaviour calling method of wcf from powershell using new-webproxyservice

You need to add [XmlSerializerFormat] to the operation contract to avoid additional bool parameters.