Saturday, January 8, 2011

Compatibility between data types in Java and .Net

Recently I came across an interesting scenario where a Java app was consuming a .Net webservice. The challenge here was to consume a DataSet returned from a webmethod written in .Net to the calling Java UI.

One approach is to return the data in plain XML which can be done by GetXML() of the dataset but this was not acceptable. So I did a search on some similar scenarios and found out one link which lists the compatibility between different data types .. sor of a rule book you can use when you have Java UI/.Net webservice to a .Net UI/Java webservice.

http://msdn.microsoft.com/en-us/netframework/gg413252

Happy coding :)

No comments: