We are creating some WCF services that will initially be consumed by .NET clients but in the future will be consumed to Java clients.
As such we want to avoid using any data types in the interface that Java does not support.
The specific one we know of is nullable value types.
One suggestion is that we can support these by using a string to represent, for example, a nullable int. And empty string therefore represents null, otherwise there is a requirement that the string must be parsable as an int.
Can anyone recommend a better alternative, or is this what you would do?