Need to receive documents via XDR endpoint

Need to receive documents via XDR endpoint

We have an operation v4.6 gateway. We have a trading partner who would like to send us documents via DocumentSubmission to our XDR endpoint ../Gateway/DocumentSubmission/2_0/DocumentRepositoryXDR_Service. What is the simplest method for "catching" these documents and storing them ?