My friend build a web service in java
I build one in .net
I want them to implement the same interface
then in my program change the web.config to point to one or the other.
In my mind this would be done by implementing the same interface. Not sure how it would actually be done…
Perhaps the safest way would be to generate the interface from WSDL. Describe your service(s) in a WSDL document then use ‘wsimport -d src WSDL_file’ (in Java).