Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
On the client side, I have tried#!/usr/bin/perl package Attachment; use SOAP::Lite; use MIME::Entity; use strict; use vars qw(@ISA); @ISA = qw(SOAP::Server::Parameters); sub someMethod { my $self = shift; my $envelope = pop; my $ent; $ent = build MIME::Entity Id => "<1234>", Type => "image/gif", Encoding => "base64", Path => "some.gif", Filename => "goit.gif", Disposition => "attachment"; return $ent,SOAP::Data->name( "foo" => "bar" ),$ent; } 1;
which results in "Not a SCALAR reference".$result = SOAP::Lite->uri($SOME_NAMESPACE) ->proxy($SOME_HOST) ->s +omeMethod(); print "Parts:\n"; foreach my $part ( ${ $result->parts } ) { print $part->stringify; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: SOAP::Lite Server Attachment
by gellyfish (Monsignor) on Aug 20, 2006 at 09:58 UTC | |
by Anonymous Monk on Aug 22, 2006 at 21:58 UTC | |
|
Re: SOAP::Lite Server Attachment
by duckyd (Hermit) on Aug 18, 2006 at 22:20 UTC | |
by Anonymous Monk on Aug 19, 2006 at 01:26 UTC |