3032Re: [soaplite] Dime Attachements
- Sep 30, 2003
> I've recently created a web service in .NET that replies with anWhile Byrne Reese's SOAP::MIME module adds attachement support to
> embedded JPG file (Dime Attachment). I can call other methods in this
> web service properly via Perl and SOAP::Lite. However, when I call
> the service that replies with the embedded file I get the contents of
> the binary file scrolled across the window.
SOAP::Lite for MIME transport, there isn't, as far as I know, any
support for DIME attachments.
> When I run this script I get the following error: Unexpected Content-If you want this, you're probably going to have to write it yourself. I've
> Type 'application/dime' returned.
> I want to be able to save this file as in:
> my $result = $soap->GetImageDIME();
> open(FL, ">> sample.jpg") || die "Failure";
> write (FL, $result->result);
> Any thoughts?
been toying with putting a module together to do DIME attachments, but
don't really have the time or a pressing need right now.
- << Previous post in topic