PHP and SOAP attaching files with DIME

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
psyclo
Forum Newbie
Posts: 4
Joined: Tue Aug 09, 2011 9:38 am

PHP and SOAP attaching files with DIME

Post by psyclo »

It appears the SOAP implementation built into PHP is not complete with regard to file attachments. I need to send binary files using SOAP to a CA Service Desk (CASD) Web Service. They only support DIME, a fairly new format for handling file attachments, and one not supported by PHP, as far as I can tell. There is something called NET_DIME I see referenced, and an article (http://marcelog.github.com/articles/php ... _curl.html) about how to use cURL and NET_DIME to attach files. I've tried to get that to work, but with no success.
Does anyone know another way to use PHP and SOAP with DIME, preferably in a secured (SSL) environment?

Thanks.
Post Reply