Hello SK,
first your write your functionality into a function module(RFC) then you create it as web service from the SE37 only. and later open it from SOAMANAGER tcode then create a End Point for the service and later. use the WSDL code in SFP tcode then create a offline interactive form.
Thanks and Regards
Sudhakar