node.js soap attachments files/ cid href

901 Views Asked by At

i'm using node-soap to consume laposte web service which is suppose to send me a response with a PDF attachment.

But what I get is not a file but a href such as the following

href: 'cid:[email protected]'

In the docs, this attachement is describe as a XOP binary file : didn't understand what that mean neither how to handle and open it in node...

Do you have a hint on how to handle such files/href/cid ?

Bonus question: why on earth an entreprise like Laposte (main delivery service in France) is still using technology like this with so little documention an crowd appropriation ?

Best <3

1

There are 1 best solutions below

0
DonPaulie On

cid is name of different protocol than http(s) you are using for soap.

For reason why it exists or how it works go to http://www.cid-protocol.org