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

6326Re: Bad stub: syntax error... in connecting with Open Patent Services

Expand Messages
  • rahed
    Apr 20, 2009
    • 0 Attachment
      On Mon, Apr 20, 2009 at 2:09 PM, mtys0904 <mtys0904@...> wrote:
      > Thank you.
      >
      > I tried ver.0710.08, but I got the similar error too...
      >
      > (Example)
      > ================================================================
      > #!/usr/bin/perl
      > #use SOAP::Lite;
      > use SOAP::Lite +trace => 'debug';
      >
      > my $service = SOAP::Lite->service('http://ops.epo.org/wsdl/ops.wsdl');
      > ================================================================
      >
      > (Error message)
      > ----------------------------------------------------------------
      > Bad stub: syntax error at (eval 95) line 7, near "-and"
      >  at /usr/lib/perl5/site_perl/5.8.8/SOAP/Lite.pm line 3613
      > ----------------------------------------------------------------

      I guess you won't succeed with generating the request directly from
      wsdl. The module is not ready for more complex wsdl definitions.

      I rather explicitly define an xml structure with SOAP::Data objects
      (described in the docs).

      Or you can try SOAP::WSDL or XML::Compile::SOAP.

      --
      Radek
    • Show all 4 messages in this topic