Soap util inbuilt service

Hi,

Can you tell me the difference between the pub.soap.handler:registerWmProvider and pub.soap.handler:register.Provider?

Where and when we need to use this service?