FHIR HAPI- How to send Bundle object from server

Hello Team, i am looking for a solution to send Bundle object from FHIR restful server.
I have successfully hosted Patient, Observation object at FHIR server.

Hosting Bundle object throwing error. Do I have to implement IBundleProvider?

Hi there,

Do you mean like you want to allow clients to store and search Bundle resources on your server? (i.e documents, collections, etc.)

If so, Bundle is a resource like any other (as of DSTU2) so you can implement an IResourceProvider with a resource type of Bundle.class and this should work.