You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am calling render soap: {errors: []} to try to produce my result. There are no issues with mismatches with my return definition. Calling render soap: {errors: [{item: 1}]} works just fine.
There are three issues for me:
Updating the xsi:type to be soapenc:Array
Adding the metadata of soapenc:arrayType="tns:Error[0]" where 0 corresponds to number of children nested under this node
Rendering empty node when the array is empty
The text was updated successfully, but these errors were encountered:
How can I produce the following output for my
errors
array as part of my XML response?<Errors soapenc:arrayType="tns:Error[0]" xsi:type="soapenc:Array" />
I am calling
render soap: {errors: []}
to try to produce my result. There are no issues with mismatches with myreturn
definition. Callingrender soap: {errors: [{item: 1}]}
works just fine.There are three issues for me:
xsi:type
to besoapenc:Array
soapenc:arrayType="tns:Error[0]"
where0
corresponds to number of children nested under this nodeThe text was updated successfully, but these errors were encountered: