|
From: Byrne R. <by...@ma...> - 2004-10-20 23:36:23
|
FYI - this change has been integrated in to SOAP::Lite 0.65 Beta 1
Peter Kaas wrote:
>Hi There,
>
>I'm trying SOAP::Lite and Axis with attachments. I had to change one
>thing to get it to work, see the patch below. It has to do with the
>local-ization of the BOUNDARY_DELIMITER inside of a block where it is
>not being used.
>
>Furthermore, you may want to update your examples and show that one can
>use a:
>
> SOAP::Data->name(...)->attr({ href => 'cid:...' })
>
>object to refer to a specific MIME part.
>
>regards,
>
>---
> Peter...
>
>
>Patch:
>
>--- /export/home/prkas/temp/SOAP-Lite-0.60/lib/SOAP/Lite.pm 2003-08-18 20:44:18.000000000 +0200
>+++ /usr/share/perl5/SOAP/Lite.pm 2004-05-10 13:01:33.000000000 +0200
>@@ -2985,6 +2985,7 @@
> $headers->header('Content-Type' => 'Multipart/Related; type="text/xml"; start="<main_envelope>"; boundary="'.$top->head->multipart_boundary.'"');
> }
>
>+ local $MIME::Entity::BOUNDARY_DELIMITER = "\r\n";
> $serializer->on_nonserialized($self->on_nonserialized);
> my $response = $self->transport->send_receive(
> endpoint => $self->endpoint,
>
>
>--
> "History teaches that grave threats to liberty often come in times of
> urgency, when constitutional rights seem too extravagant to endure."
> - Justice Thurgood Marshall, 1989
>
>
>-------------------------------------------------------
>This SF.Net email is sponsored by Sleepycat Software
>Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to
>deliver higher performing products faster, at low TCO.
>http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
>_______________________________________________
>Soaplite-devel mailing list
>Soa...@li...
>https://lists.sourceforge.net/lists/listinfo/soaplite-devel
>
>
>
|