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

Can't generate a <fieldName xsi:nil="true" /> field in request payload #49

Open
Clovel opened this issue Oct 26, 2022 · 0 comments
Open

Comments

@Clovel
Copy link

Clovel commented Oct 26, 2022

If an element is set to nillable="true, we should be able to set the element as null to get the following XML result

xsi:nil="true"

For now, the code generator indicates that the nillable="true field is either <fieldType> or undefined.

Setting the field to undefined makes the field disappear in the resulting request XML payload.

One could say that this should be managed by the server side, but that's implementation specific and not always possible when calling an external SOAP API.

Anyone have any insight on this ?

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

No branches or pull requests

1 participant