Perspective PDF Viewer Possible to used Sepasoft Webservices as source

For the perspective PDF Viewer components, is it possible to use the Sepasoft MES Webservices module as a source for the pdf viewer. I've attempted it with both the provider endpoint and the consumer endpoint, however I've been having issues with it. I can get the byte array holding the data for each pdf into each endpoint variety, but I can't seem to get the PDF viewer to recognize it as a pdf and display it no matter what I do with the headers or the content itself. Has anyone managed to get it to work before?