Abstract: Web Services is a new distributed computing model. It has the characteristics of loosen coupling, cross platform, dynamic and openness .It can accelerate integration of different kinds of governments, business and enterprise systems, reduce cost and improve benefit, but they also lead to many security problems .The security of Web services deeplyb influences its development and is also one of the main reasons why Web Services has not been adopted widely. Their communication requirements to ensure the realization of end-to-end security and confidentiality of Simple Object Access Protocol (SOAP) information transmission, but traditional programs such as the SSL transmission can not meet demand. In this paper, we analyzed the representative solutions to web service security in detail. Proposed a security model and implement the model in J2EE platform by using inventory Management System, ensure end-to-end security of SOAP information transmission.