Menu

#17 complex type: array of strings with own name produce error

New
nobody
None
Medium
Defect
2013-04-10
2012-11-08
Anonymous
No

Originally created by: ThomSchw...@gmail.com

this code:

/**
* Array of strings
*
* @pw_complex ArrayOfstring[] string an array of strings
*/

produces this error:
otice: Uninitialized string offset: -1 in D:\dev\Apache2\htdocs\ScannyDummyServer\php-wsdl\class.phpwsdlformatter.php on line <i>158</i>

Discussion

  • Anonymous

    Anonymous - 2013-04-10

    Originally posted by: j.romero.1214

    I'm experiencing the same issue. When showing documentation it displays fine but when opening the WSDL this is produced:

    - File: ../php-wsdl/class.phpwsdlformatter.php
    - Line: 158
    - Detail: Uninitialized string offset: -1

    Defined as:
    /**
    * @pw_complex ArrayOfAccountDetails[] AccountDetails
    */

     
  • Anonymous

    Anonymous - 2013-04-10

    Originally posted by: j.romero.1214

    Circumvented with "manually defining "

    /**
    * @pw_set nillable=false
    * @pw_set maxoccurs=unbounded
    * @pw_element AccountDetails $AccountDetails
    *
    * @pw_complex ArrayOfAccountDetails
    */

     

Log in to post a comment.