#158 first element in a wsdl array made undef

open
Martin Kutter
WSDL (18)
5
2009-04-15
2009-04-15
Rutger Brouwer
No

I'm currently using SOAP::Lite 0.710.08 together with Perl 5.8.8 and I try to invoke a home made web-service from a WSDL. Both the web-service and the client are constructed using SOAP::Lite. The WSDL is constructed by hand. When I send data in a Array format (string[] or when using a complex type) to the service, the first element is always undef. When I invoke the webservice the "normal" bypassing the WSDL the first element is the actual first element I send.

Discussion

  • Hi Rutger,

    could you attach the WSDL (or a WSDL provoking the same error)?

    Martin

     
  • Rutger Brouwer
    Rutger Brouwer
    2009-04-22

    The WSDL file

     
    Attachments
  • Rutger Brouwer
    Rutger Brouwer
    2009-04-22

    The server script

     
    Attachments
  • Rutger Brouwer
    Rutger Brouwer
    2009-04-22

    A simple client script

     
    Attachments
  • Rutger Brouwer
    Rutger Brouwer
    2009-04-22

    The output I get from the client script

     
    Attachments
  • Rutger Brouwer
    Rutger Brouwer
    2009-04-22

    Sorry I replied so late.

    I've created a simple WSDL file, server and client scripts which yield the same error I've been experiencing in my main project. The first element in the array is set to undef when I use the WSDL. This is not so when I use the server directly with SOAP lite (using 'uri' and 'proxy').