Link to home
Start Free TrialLog in
Avatar of beos1907
beos1907

asked on

How to create a PDF file using binary strings in C#? or converting Binary String to System Stream, etc.

So i receive a xml from a web service.  The web service documentation claims that

( The response element returns the binary string that contains the pdf Summary Report image. You must have a method for converting the binary string to human-readable PDF file.)

The binary string that is returned starts like this
( <Image pdf=\"JVBERi0xLjMKJcfsj6IKNSAwIG9iago8PC9MZW5ndGggNiAwIFIvRmlsdGVyIC9GbGF0 ............ ) (attached the full xml )

I am wondering what is the best way to create this pdf file. We also use a tool (PDF4NET) that can accept streams to generate the pdf files.. But not sure the following methods to play with the returned xml..

Thank you

Response2.txt
ASKER CERTIFIED SOLUTION
Avatar of Marcjev
Marcjev
Flag of Belgium image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of beos1907
beos1907

ASKER

Thank you very much for taking care of this, it worked great..

Is it possible to remove the attached files..