The invention discloses a multi-version interface implementation method and
system and related components, which are applied to a
client, and the multi-version interface implementation method comprises the following steps: obtaining interface information disclosed by a
server, the interface information comprising a
data structure and an interface method of a support version of a
server; determining a negotiated version according to the interface information and a support version of the
client; establishing communication with the
server according to the negotiated version; organizing and packaging interface information in the form of
soap and
xml and publishing the interface information in the wsdl language, wherein a packaging program and an unpackaging program of the interface informationare determined through base classes and inheritance. Differentiated data structures and interface methods among different versions are packaged on the basis of a
soap protocol, and negotiated versions which support both a
client and a server are determined in multiple versions, so that the implementation problem of a multi-version interface is solved, the development
workload is greatly reduced,and the deployment is facilitated.