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.