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

Already on GitHub? Sign in to your account

Make WSDL generator more compliant (minOccurs, maxOccurs, nillable) and allow overriding methods. #1506

Closed
lubosdz opened this Issue Oct 1, 2012 · 2 comments

Comments

Projects
None yet
3 participants
Contributor

lubosdz commented Oct 1, 2012

This ticket replaces ticket #1476 because it has additional changes and only one pull request is allowed per user.

CHANGES:
#1/ Added support for three extra attributes nillable, minOccurs, maxOccurs.

Following optional syntax is suggested - definitions enclosed into curly brackets to avoid conflicts with common round brackets.

@var string name of foo {nillable = 1, minOccurs=0, maxOccurs = 2}
@var string name of foo {minOccurs=0}

All attributes are optional.
Tested on our current project and with SOAP UI.
#2/ Allow overriding WSDL generator methods.

Since it may be difficult for WSDL generator to support many of possible attributes and elements, framework should make it easier to allow overriding methods in WSDL generator class. Thus instead of private members class should implement protected scopes.


Thanx & cheers.
Lubos

lubosdz added a commit to lubosdz/yii that referenced this issue Oct 1, 2012

Member

mdomba commented Oct 1, 2012

You can make only one pull request because you did the changes in your "master" instead in a branch...

Please follow the guidelines in the Git workflow for Yii contributors

Contributor

lubosdz commented Oct 1, 2012

I cancelled previous pull request and created new one (cumulative) - but sorry for creating duplicate issue... :-)

@samdark samdark closed this Oct 29, 2012

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