A remote call or call of Web Service

Source: Internet
Author: User
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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.