Loading ...
Sorry, an error occurred while loading the content.

SOAPLite: illegal seek

Expand Messages
  • olgellert
    Hi list, I am running a perl script accessing some soap services using Soap::Lite. On an elderly linux (redhat 4, perl 5.8.5 and soap-lite-0.67) everything
    Message 1 of 2 , Jan 13, 2009
    • 0 Attachment
      Hi list,

      I am running a perl script accessing some soap services using
      Soap::Lite. On an elderly linux (redhat 4, perl 5.8.5 and
      soap-lite-0.67) everything runs fine. On an actual linux
      (opensuse 11.1, perl 5.10.0, soap-lite-0.710) I get an
      "illegal seek" in the call of "SOAP::Lite->service"

      Here is the stack trace of the perl debugger (some information
      in the output was Xed out):

      Service description
      'https://XXX.de/test-eins/cgi-bin/soap?wsdl=1' can't be
      loaded: 500 configure certs failed: failed to load
      /home/XXX/mycert.p12:
      Illegal seek
      at /usr/lib/perl5/vendor_perl/5.10.0/SOAP/Lite.pm line 3186
      SOAP::Schema::access('SOAP::Schema=HASH(0x12f29a8)') called at
      /usr/lib/perl5/vendor_perl/5.10.0/SOAP/Lite.pm line 3131
      SOAP::Schema::parse('SOAP::Schema=HASH(0x12f29a8)') called at
      /usr/lib/perl5/vendor_perl/5.10.0/SOAP/Lite.pm line 3613
      SOAP::Lite::service('SOAP::Lite',
      'https://XXX.de/test-eins/cgi-bin/soap?wsdl=1') called at
      ./test.pl line 16

      The error message does not seem to be related to an
      actual error (the p12-file exists and is readable
      and it works on the older installation)...
      Any suggestions?

      Regards, Olaf
    • rahed
      ... I guess something is wrong with your wsdl. At least from the point of view of SOAP::Schema::parse method. Could be that this method is not parsing the
      Message 2 of 2 , Jan 14, 2009
      • 0 Attachment
        On Tue, Jan 13, 2009 at 10:21 AM, olgellert <olgellert@...> wrote:
        > Hi list,
        >
        > I am running a perl script accessing some soap services using
        > Soap::Lite. On an elderly linux (redhat 4, perl 5.8.5 and
        > soap-lite-0.67) everything runs fine. On an actual linux
        > (opensuse 11.1, perl 5.10.0, soap-lite-0.710) I get an
        > "illegal seek" in the call of "SOAP::Lite->service"
        >
        > Here is the stack trace of the perl debugger (some information
        > in the output was Xed out):
        >
        > Service description
        > 'https://XXX.de/test-eins/cgi-bin/soap?wsdl=1' can't be
        > loaded: 500 configure certs failed: failed to load
        > /home/XXX/mycert.p12:
        > Illegal seek
        > at /usr/lib/perl5/vendor_perl/5.10.0/SOAP/Lite.pm line 3186
        > SOAP::Schema::access('SOAP::Schema=HASH(0x12f29a8)') called at
        > /usr/lib/perl5/vendor_perl/5.10.0/SOAP/Lite.pm line 3131
        > SOAP::Schema::parse('SOAP::Schema=HASH(0x12f29a8)') called at
        > /usr/lib/perl5/vendor_perl/5.10.0/SOAP/Lite.pm line 3613
        > SOAP::Lite::service('SOAP::Lite',
        > 'https://XXX.de/test-eins/cgi-bin/soap?wsdl=1') called at
        > ./test.pl line 16
        >
        > The error message does not seem to be related to an
        > actual error (the p12-file exists and is readable
        > and it works on the older installation)...
        > Any suggestions?

        I guess something is wrong with your wsdl. At least from the point of
        view of SOAP::Schema::parse method.
        Could be that this method is not parsing the service description correctly.
        I rather avoid using the service method.

        --
        Radek
      Your message has been successfully submitted and would be delivered to recipients shortly.