I would like to get some information on list of points that needs to be taken care of while developing Web Services on .NET platform using WCF to make sure it is compatible with majority of the clients out there (Java, .NET etc…).
Earlier I have seen cases where we developed services which was easily consumed by .NET clients , however the moment we tested the service with other platforms, service broke.
I have few points with me as mentioned below:
- Always use POCO data types
- Stick to BasicHttpBinding unless WSHttpBinding is required
My main concern is about the Data Contract objects that are serialized and sent over the wire.
Thanks in advance.
My suggestion would be to use WS-I Compliance Test once you build you service.
Check: http://www.ws-i.org/deliverables/workinggroup.aspx?wg=testingtools
WS-I stands for Web Services Interoperability, if your services pass almost all the tests you can be 100% sure that they work with various clients.