MIMEKrish has asked for the wisdom of the Perl Monks concerning the following question:

I got to send an MIME::Entity(image) atachment with a SOAP message on server side. How do I attach to the SOAP message. I have issue with client handing the returned soap message too. when I do ->parts on the server returned object I have an array returned but seems does not have any data. sample code will be helpful. awaiting reply.. thanks.

Replies are listed 'Best First'.
Re: transfer of image with SOAP
by shmem (Chancellor) on May 15, 2007 at 15:25 UTC
    sample code will be helpful.

    You name it. Sample code will be helpful to help.

    --shmem

    _($_=" "x(1<<5)."?\n".q·/)Oo.  G°\        /
                                  /\_¯/(q    /
    ----------------------------  \__(m.====·.(_("always off the crowd"))."·
    ");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}
Re: transfer of image with SOAP
by northwind (Hermit) on May 15, 2007 at 16:26 UTC

    1. Please post the code you currently have (allowing pride/shame for your code get in the way will not help us in helping you).
    2. Check out the docs for SOAP::Lite (or the docs for whatever module you are using to support the SOAP spec).
    3. Check out DIME::Tools (failed to install for me) or MIME::Base64 for inserting binary data into a SOAP message (you will obviously need to decode the binary data on the receiving end to recover your image).
    4. Until we (the Monastery) have access to the code which is failing for you, we cannot craft specific answers to your problem.