Web services provide a new technology for the integration of enterprise application environment. However, Web services do not resolve the problems deriving from business process integration. This technology doesn't handle the transaction behaviors among different organizations and make each service function separately; it can't make multiple services seem to be a single service and ensure the all-or-nothing logic among them. Distributed transactions systems need long-period of time, asynchronous messaging and involve multiple applications belong to different organizations and enterprises, These are entirely different from the traditional transaction systems. In this paper, we propose transaction architecture and implement it in Web services based on current Web services specifications. We will also review the weakness of those specifications and enhance their functions to fulfill most requirements. Based on the analysis and implemented system, transaction architecture in Web services environment is constructed and using transaction in this environment becomes easy.