I have a codeunit that has a function that accepts a DotNet variable as a parameter. When I try to use this codeunit via a Web Service, I get the following error.
<s:Envelope xmlns:s="
http://schemas.xmlsoap.org/soap/envelope/">
<s:Body>
<s:Fault>
<faultcode xmlns:a="urn:microsoft-dynamics-schemas/error">a:System.NotSupportedException</faultcode>
<faultstring xml:lang="en-US">DotNet</faultstring>
<detail>
<string xmlns="
http://schemas.microsoft.com/2003/10/Serialization/">DotNet</string>
</detail>
</s:Fault>
</s:Body>
</s:Envelope>
Can I use a DotNet variable as a parameter that is consumed via a Web Service?