pass a pdf to a webservice

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
mcog_esteban
Forum Contributor
Posts: 127
Joined: Tue Dec 30, 2003 3:28 pm

pass a pdf to a webservice

Post by mcog_esteban »

any tips how could i pass a pdf file from php to a webservice built in c#?

Array of bytes is a good approach?
User avatar
wtf
Forum Contributor
Posts: 331
Joined: Thu Nov 03, 2005 5:27 pm

Post by wtf »

What does the doc for web service states. If webservice is capable of accepting pdf then its implementation should not matter.
mcog_esteban
Forum Contributor
Posts: 127
Joined: Tue Dec 30, 2003 3:28 pm

Post by mcog_esteban »

i'm sorry, i didn't quite understand what you have said.
can you please explain?

what i'm trying to do is:
pass a pdf generated in php to a webservice built in c#, this webservice will sign(using a digital signature) my pdf.
mcog_esteban
Forum Contributor
Posts: 127
Joined: Tue Dec 30, 2003 3:28 pm

Post by mcog_esteban »

after reading a bit i found i could pass binary data to a webservice using SOAP with Attachments or using SwA(Soap with Attachments) together with DIME.

does anyone has used this before?
Post Reply