Re: [soaplite] Re: SOAP::MIME - is there a bug?
- Here is the example that has been posted to this list some time ago:
Yes, $ent should be used with no brackets. No, you don't need to do
anything special to extract attachments from the message, it happens
transparently, but some information has to be provided when the
message is generated (SOAP::MIME currently doesn't do it for you).
Look at the message above; the example should work for you.
Best wishes, Paul.
--- "fliragne <florian.iragne@...>" <florian.iragne@...>
> In fact, i've made a change that makes the code working :__________________________________________________
> here is my code :
> my $soap = SOAP::Lite
> -> readable(1)
> -> uri($NS)
> -> parts($ent)
> -> proxy($HOST)
> As you can see, i've not writing any brackets around $ent, and it
> The only problem is that i can't extract the attachment in my SOAP
> service! i don't know the way to do this. There is an example to
> retrieve attachment from SOAP service, to send attachment to SOAP
> service, but not for retrieving attachment send by SOAP client??
> Can anybody help me? (please answer on the group, my email is
> temporaly down!
> --- In firstname.lastname@example.org, "fliragne <florian.iragne@l...>"
> <florian.iragne@l...> wrote:
> > Well, hum...
> > i appologize for disturbing i made! there is no problem with
> > SOAP::MIME. I don't understand why, but tomorrow morning, it
> > (with no change in my code)!
> > Thanks !
> > --- In email@example.com, "fliragne <florian.iragne@l...>"
> > <florian.iragne@l...> wrote:
> > > hello everybody,
> > > I try to use the SOAP::MIME module to send attachments with my
> > > request but i have a problem. When I launch my client and send
> my SOAP
> > > request, i have this error message :
> > > "Can't call method "print" on unblessed reference at
> > > /usr/lib/perl5/site_perl/5.8.0/MIME/Entity.pm line 1803"
> > >
> > > It seems that this module can't convert my data to the
> > > object.
> > >
> > > Does anybody know the answer to this problem, or is there a bug
> in the
> > > SOAP::MIME module (i've tried their example with no success)!
> > >
> > > thanks!
> ------------------------ Yahoo! Groups Sponsor
> To unsubscribe from this group, send an email to:
> Your use of Yahoo! Groups is subject to
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.