Experience in inter-company Web Service Interface Adjustment

Source: Internet
Author: User
Experience in inter-company Web Service Interface Adjustment

Recently I have been calling interfaces with other companies, but it has been a lot of time. My experience is summarized as follows:

1. first discuss the interface, write the WSDL, and generate it for both parties.Code.
2. server logs should record the parameters sent from the client, and make simple logical judgments and record the results if necessary. To detect errors.
3. client logs should record parameters before sending, and record returned results or error messages after sending.
4. the URL is configurable.
5. Now we can test it on the test server. Check the parameters according to the log. If there is no problem, both parties will write their own implementation code.
6. Ask the customer to communicate with the other company even if there are minor changes involved in interface changes. I directly said, I thought it was just for me to push and drag. However, if

The other party directly told me that I should fully cooperate properly.
7. The formal server generally cannot be restarted at will. If there is an error, it mainly depends on the log to see what the problem is.

FAQs:
1. Version inconsistency.
2. The length of the sent string exceeds the length of the database field.
 

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.