Rest Webservice implementation in webmethods 9.8

Hi ,

I want to implement a rest webservice in webMethods by passing XML message as a request and response.

also I want to know,how feasible it is ,when we changing from SOAP to REST?

Can you please provide some examples?