-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Add support for the group element #1348
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
base: master
Are you sure you want to change the base?
Conversation
|
Is there any intrinsic reason that the group element is commented out and parsed as |
|
Could you please add some tests for this? it would help to understand the changes and lock down the implementation. Thanks. |
IMO, it's history the OG devs would know. Whatever was the reason, we don't need to dwell on it, and push the project forward, so thank you for your contribution. I see in your fork you also did commit an implementation of the sequence ordering; that other branch has tests. Do they cover this group element as well? if so, then why not include it into the PR as well? It seems from your implementation |
|
|
||
| public $ref?: string; | ||
|
|
||
| // XSD allows min(/max)Occurs, but node-soap currently only pluralizes on element level |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you also explain this comment in relationship to:
node-soap/src/wsdl/elements.ts
Line 207 in 012457e
| public $minOccurs?: string; |
I am curious.
|
If you can't add a test for this change, I can do this, but I need example WSDL and ideally expected request response. Thanks. |
They have a some test WSDL and a test for the squence ordering in their other branch, maybe can use that? |
Working on a change that allows respecting the order imposed by
xs:sequencein schema, which is an existing issue (#1267).Respecting the
xs:groupelement is also of importance since there are specific cases when the sequence appears as a child of the group.