Error In inbound service

Hello All,
I am submitting an IDoc Data to sap through inbound service.

I have used the service transformFlatToHierarchy for converting the idoc data and after this calling inbound service to process idoc to SAP ,But this throwing error as null pointer exception.I know that this is because IDOC_CONTROL_DATA and IDOC_DATA_RECORDS are not passing to inbound service which are there in the pipeline.

Any body have faced the issue or any suggestions on this?

Rajesh.

Its working fine now there was some problem in routing rule