in reply to SOAP::Lite Server Attachment

It looks like you expect $result->parts to return an array reference, but you're treating it like a scalar reference. Maybe you want:
foreach my $part ( @{ $result->parts } ){
You might consider using Data::Dumper to dump $result (or just $result->parts).

On the server side, why are you returning $ent,SOAP::Data->(...),$ent ? From the POD it looks like that should be

return SOAP::Data->name(...),$ent;

Replies are listed 'Best First'.
Re^2: SOAP::Lite Server Attachment
by Anonymous Monk on Aug 19, 2006 at 01:26 UTC
    I see it was $ in the SOAP::Lite pod client access, but correctly @ in the server attachment access.
    I forgot I tried changing the return, but makes no difference. Using:
    return SOAP::Data->name(...),$ent;
    doesn't return the expected MIME attachment either.