Help with raw PDF data

Hi,

I hope that someone is able to help. I am currently integrating into a courier system and have managed to get the webservices to work. I have made a request to return the pdf and it returns me a data stream. I have tried to save this in a file with the extension .pdf but it does not work. Any ideas what I should do?

I am using vb.net

JVBERi0xLjYKJeTjz9IKMSAwIG9iagpbL1BERi9JbWFnZUIvSW1hZ2VDL0ltYWdlSS9UZXh0XQpl bmRvYmoKNCAwIG9iago8PC9MZW5ndGggNSAwIFIKL0ZpbHRlci9GbGF0ZURlY29kZQo+PgpzdHJl YW0KeJwDAAAAAAEKZW5kc3RyZWFtCmVuZG9iago1IDAgb2JqCjgKZW5kb2JqCjYgMCBvYmoKPDwv TGVuZ3RoIDcgMCBSCi9GaWx0ZXIvRmxhdGVEZWNvZGUKPj4Kc3RyZWFtCnjaAwAAAAABCmVuZHN0 cmVhbQplbmRvYmoKNyAwIG9iago4CmVuZG9iago4IDAgb2JqCjw8L1N1YnR5cGUvSW1hZ2UKL1dp ZHRoIDEwMAovSGVpZ2h0IDEwMAovQml0c1BlckNvbXBvbmVudCA4Ci9Db2xvclNwYWNlL0Rldmlj ZUdyYXkKL0ZpbHRlci9EQ1REZWNvZGUKL0xlbmd0aCA5IDAgUgo+PgpzdHJlYW0K/9j/4AAQSkZJ RgABAQEAtgC2AAD/2wBDAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEB AQEBAQEBAQEBAQEBAQEBAQEBAQEBAQH/wAALCABkAGQBASIA/8QAHwAAAQUBAQEBAQEAAAAAAAAA AAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEI I0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlq c3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW 19jZ2uHi4+Tl5ufo6erx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BuIAowMDAwMDA3NTMxIDAwMDAwIG4gCjAwMDAwMDc1OTAgMDAwMDAgbiAKMDAwMDAwNzcx NCAwMDAwMCBuIAowMDAwMDA5NDE1IDAwMDAwIG4gCjAwMDAwMDkwMzAgMDAwMDAgbiAKMDAwMDAx MDc3NiAwMDAwMCBuIAowMDAwMDExMTE1IDAwMDAwIG4gCnRyYWlsZXIKPDwvU2l6ZSAzMwovUm9v dCAzMiAwIFIKL0luZm8gMjggMCBSCi9JRFs8RDhEMUZEMjVCMjJEOUE3ODBFMzhCQzczM0I5QTIy RTU+PEQ4RDFGRDI1QjIyRDlBNzgwRTM4QkM3MzNCOUEyMkU1Pl0KPj4Kc3RhcnR4cmVmCjExMTYz CiUlRU9GCg==

Open in new window


Best regards,

Ross
ross13Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

GMGeniusSoftware Development Manager/DeveloperCommented:
Hi Again

You need to decode this , its returned as a base64 encoded string


$pdf = base64_decode($response['Label']['Data']);
0
GMGeniusSoftware Development Manager/DeveloperCommented:
Something like
?

Imports System.IO
  
      Using w As StreamWriter = New StreamWriter(File.Create(filePath))
            Dim data As Byte() = System.Convert.FromBase64String(base64encoded)
            w.Write(System.Text.ASCIIEncoding.ASCII.GetString(data))
        End Using

Open in new window

0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
ross13Author Commented:
I will give it a try this morning.

Cheers,

Ross
0
ross13Author Commented:
That's sorted it. Thanks for the help.

Best regards,

Ross
0
ross13Author Commented:
Cheers,

Ross
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic.NET

From novice to tech pro — start learning today.