Re: [soaplite] String Max Size
- Please check out the following documentation:
The documentation is from SOAP::Lite 0.65 Beta 1, but the instructions
should work for 0.60.
If you are using 0.55, then you will need SOAP::MIME:
Will Fawcett wrote:
> I am new to the group but I am desprate for help!!!! I am working
> with SOAP::Lite in a CGI script on a Linux Apache Web server, and
> ActiveState Perl Soap::Lite for the client. I need to pass large
> files (up to 10 megs) back and forth.
> Currently I use MIME::Base64 to encode the file as a string, then I
> open my service via WSDL and send it to my server the message type
> for the transport is the standard XSD:Base64Binary.
> I hope that is all the information you need....
> Anyway, If I send a small file for example a 1.5k Bitmap file, I
> have no problems at all everything is GREAT!!! but if I try to send
> a 34k JPG it chokes and reports:
> <?xml version="1.0" encoding="UTF-8"?>
> <faultstring>Application failed during request deserialization:
> no element found at line 51, column 50, byte 4380
> at /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread
> multi/XML/Parser.pm line 187 </faultstring>
> My question: Is there a limit to the size of variable I can send, is
> there a better way to "attach" a file to a soap message that I just
> don't get? Please help
> *Yahoo! Groups Sponsor*
> click here
> *Yahoo! Groups Links*
> * To visit your group on the web, go to:
> * To unsubscribe from this group, send an email to:
> * Your use of Yahoo! Groups is subject to the Yahoo! Terms of
> Service <http://docs.yahoo.com/info/terms/>.