Re: [SOAP] mime encoding (partial?)

From: Date: Thu, 16 Jan 2003 18:32:45 +0000
Subject: Re: [SOAP] mime encoding (partial?)
References: 1  Groups: php.soap 
Request: Send a blank email to php-soap+get-395@lists.php.net to get a copy of this message
mag wrote:
Goodday everyone, I'm very new with this and am stumped, hope to find some help here. I have a soap envelope and an attachment to send together, yet when i do that, it is fully mime encoded (multipart/related) and I lose my soap message in the encoding. If I understand correctly, the _makeMimeMessage method (of SOAP_Base) mime-encodes the message whenever it finds an attachment in the call. (or am i wrong somewhere?) So simply, is there a way to send my contents in one call and keep the soap envelope as it is yet encode the attachment? Please advise. best regards mag
I'm not quite sure what you are asking for. The mime encoding is as per the SwA spec. The soap envelope must be the first mime part, which means it will get mime encoded. If you simply want it to be readable, you can change the mime encoding by changing it manually in base.php at line 866: $params['encoding'] = 'base64'; Shane

« previous php.soap (#395) next »