With the rapid development of the Internet, a large number of data information appears on the Internet, however, these data information are come from incompatible applications and frameworks that cannot interoperate or exchange data, and it is difficult to effective share and use these data information. Web Service is a new model for the integration and sharing of data information, many scholars have been done much research work on how to achieve data sharing by using the web service technology. This paper analyzes the accessing process of web service based on the Axis2, and takes the library web service as an example to describe the whole process of web services creating, publishing, and accessing. The example of library web service shows that it has speediness, practicability and effectiveness to design and implement the web service by Apache Axis2.