Creating attachments with NuSOAP

Hello guys,

I'm having issues creating an attachment with the set_note_attachment method. I've just upgraded to SugarCRM 7.9 and need a valid example code. Perhaps, I might have missed something.

But I copied it exactly from Documentation - creating notes with attachments examples.on

Thanks,

Steve