Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
GoogleCodeExporter opened this issue Feb 15, 2016 · 3 comments
Open

Comments

@GoogleCodeExporter
Copy link

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>

Original issue reported on code.google.com by [email protected] on 8 Nov 2012 at 10:04

@GoogleCodeExporter
Copy link
Author

on call of ...?WSDL

Original comment by [email protected] on 8 Nov 2012 at 10:07

@GoogleCodeExporter
Copy link
Author

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
 */

Original comment by j.romero.1214 on 10 Apr 2013 at 3:13

@GoogleCodeExporter
Copy link
Author

Circumvented with "manually defining "

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

Original comment by j.romero.1214 on 10 Apr 2013 at 7:47

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant