Abstract:Firstly,this paper studied the Web data mining and its application in the e-commerce,and found the disadvantages of traditional e-commerce Web data mining system. The disadvantages contain closed mining engine,difficult dynamic management for algorithm and the mining result is difficult to be reused. Finally it proposes a Web data mining framework suitable for e-commerce based on Web Service and Mobile Agent and the framework has better portability and higher mining efficient.