We are creating some WCF services that will be consumed initially by .NET clients, but will be used in the future for Java clients.
Thus, we want to avoid using any data types in an interface that Java does not support.
The specific one we know about is the types of valid values.
One suggestion is that we can support them using a string to represent, for example, a nullable int. Thus, the empty string is null, otherwise there is a requirement that the string be parsed as an int.
Can anyone recommend a better alternative, or is that what you would do?
source
share