Thanks RMG
I found my mistake which I was doing in savePipelineToFile service.
I was debugging again whereas service already got executed by processing rule.
Correct steps are for developing
1.Save pipeline
2. restorepipeline
3. select wm.tn.rec:processingService in Specification Reference and
4. bizdocToRecord.
Hoping these steps will help to beginners 
#Integration-Server-and-ESB#webMethods#B2B-Integration