RE: MIME Attachments using SoapClient Class

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Samisa/Roger

Thanks very much for the information, it's a great help.

Kindest regards,

Bruce



> Date: Thu, 11 Feb 2010 23:02:00 +0530
> From: samisa.abeysinghe@gmail.com
> To: soap@lists.php.net
> Subject: Re:  MIME Attachments using SoapClient Class
> 
> Try WSF/PHP. It has MTOM support.
> 
> Samisa...
> 
> On Thu, Feb 11, 2010 at 4:20 AM, Roger Roelofs <rer@datacompusa.com> wrote:
> > Bruce,
> >
> > On 2/10/10 5:32 PM, Bruce Bailey wrote:
> >>
> >> I can't find any information on how to send attachments along with SOAP,
> >> using the SoapClient class (ala http://www.w3.org/TR/SOAP-attachments).
> >>  Even grep'ing the source code turned up nothing.  Does this class support
> >> attachments?  If so, how can I send an attachment with a SOAP request?
> >>
> >
> > I don't believe SoapClient will automatically do the attachment for you.
> >  However, you can subclass it to get it to do what you want.  Essentially
> > the soap attachment spec has you create a fake email with the xml as the
> > main part and the attachments as they would appear in a typical email.  You
> > have to record the attachments somehow, put references to them in the xml
> > and use php's mime class to create the various MIME parts.
> >
> > I am not aware of any pre-written classes for this.
> >
> > --
> > Roger Roelofs
> > Datacomp Appraisal Services
> > rer@datacompusa.com
> >
> >
> > --
> > PHP Soap Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
> 
> -- 
> PHP Soap Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
 		 	   		  
_________________________________________________________________
Hotmail: Trusted email with Microsoft’s powerful SPAM protection.
http://clk.atdmt.com/GBL/go/201469226/direct/01/

[Index of Archives]     [PHP Home]     [PHP Users]     [Kernel Newbies]     [PHP Database]     [Yosemite]

  Powered by Linux