Xpoint
   [напомнить пароль]

SOAP::SOM ? Не пойму что за ошибка?

Метки: [без меток]
2010-08-17 16:03:35 [обр] ppp0[досье]
use SOAP::Lite;
use SOAP::WSDL;

$xml = <<END_XML;
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="***">
    <SOAP-ENV:Body>
        <ns1:EP_IsInvoicePaid>
            <ns1:mer_no>***</ns1:mer_no>

            <ns1:pass>***</ns1:pass>
            <ns1:order>***</ns1:order>
        </ns1:EP_IsInvoicePaid>
    </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
END_XML

  my $deserializer = SOAP::Deserializer->new();
  my $som = $deserializer->deserialize($xml);

my $soap = SOAP::WSDL->new(wsdl => 'https://ssl.easypay.by/xml/easypay.wsdl');
my $result = $soap->call('EP_GetPaidInvoicesExt', $som);

Ну и собственно ошибка:

 Can't locate object method "serialize_qualified" via package "SOAP::SOM" at /usr/local/share/perl/5.10.0/SOAP/WSDL/Serializer/XSD.pm line 84.

Почему? Все по документации... А в SOAP::Lite нет подмодуля SOAP::SOM...

Powered by POEM™ Engine Copyright © 2002-2005