Routing Rule For IDOC TO SAPBC

I am trying to configure a routing rule for an IDOC that is coming into the SAP Business Connector from SAP Server, What should be the Transport i should use , so that the corresponding service on my BC server is executed.
Will i get the IDOC in the same format in my Pipeline-in of the service that i am executing?