in reply to SOAP::Lite Server Attachment

I assume you are using either version 0.68 or 0.69 of SOAP::Lite, it appears that in these versions the specific line that does the MIME packaging is commented out at line 1554 in Lite.pm:

# Sometimes SOAP::Serializer is invoked statically when there is no + context. # So first check to see if a context exists. # TODO - a context needs to be initialized by a constructor? if ($self->context && $self->context->packager->parts) { # TODO - this needs to be called! Calling it though wraps the payloa +d twice! # return $self->context->packager->package($self->xmlize($encoded)) +; }
YOu could try un-commenting the line but I think there would be more work to be done to make it work properly. Word has it that earlier versions do work however.

/J\

Replies are listed 'Best First'.
Re^2: SOAP::Lite Server Attachment
by Anonymous Monk on Aug 22, 2006 at 21:58 UTC
    I tried 0.67, 0.66, and 0.65_6 with no luck.
    Unfortunately, my perl knowledge isn't all that great. I lack the knowledge of SOAP/XML inners as well. (But that's the idea of a module, to keep you from the details.)
    Thanks for confirming that it isn't something wrong I'm doing. ;)