[Xml-compile] RE: error: remote system uses XOP, use
XML::Compile::XOP
Mark Overmeer
mark at overmeer.net
Mon Aug 27 09:32:38 GMT 2012
I found it. It is a problem with HTTP::Message extracting multiparts.
It uses (line 1000)
$str =~ s/\r?\n--\Q$b\E--\r?\n.*//s;
if ($str =~ s/(^|.*?\r?\n)--\Q$b\E\r?\n//s) {
$self->{_parts} = [map HTTP::Message->parse($_),
split(/\r?\n--\Q$b\E\r?\n/, $str)]
}
As you can see, it requires a \n after the -- in the first regex. Your
server does not send it.
I think it is an unconvenience in your server, and a bug in HTTP::Message.
See https://rt.cpan.org/Ticket/Display.html?id=79239
I would manually change the regex in the installed module. Gisle usually
releases fixes within a few days.
* DEIGNAN Ciaran (c.deignan at rsd.com) [120824 11:48]:
> I get an empty return.
> There's a message printed to the screen:
>
> C:> ws1.pl
> Using XML-Compile-SOAP version 2.30
> warning: loosing received XOPs
> $VAR1 = undef;
[SNAP]
> ------=_Part_3_149620971.1345808254394--',
--
Regards,
MarkOv
------------------------------------------------------------------------
Mark Overmeer MSc MARKOV Solutions
Mark at Overmeer.net solutions at overmeer.net
http://Mark.Overmeer.net http://solutions.overmeer.net
More information about the Xml-compile
mailing list