This problem is found in actual development. I use a C # developed platform to call a Java-written web service. I want to encapsulate the called information in an instance of a class and use the instance of this class as a parameter, call a web service method. For example:
In Web Service, there is a method void endsync (result re) in which the result class is used to encapsulate information, which is described in Java. I used C # To write a result of the same class. After local initialization, I called the endsync (result re) method in Web Service and found that an error occurs, two results cannot be converted to each other.
This problem also reminds us that if you want to remotely call the object class data or transmit some object class data during the call, so how does the data convert between the client and the server? Which of the following measures can be used to transmit object data.
I have been confused about this problem for a long time. I hope you can give me some advice.