Hello,
Im having an issue with the xmlnillable property.
The WSDL Im using explicitly says that the tag can be nillable:
<xsd:element name="processingMessageType" nillable="true" type="xsd:string">The code produced by fglwsdl does not include the XMLNillable property on the record and then when serializing the xml using
xml.Serializer.StaxToVariable it throws the following error:
Element 'processingMessageType': nil not allowedThis seems to be solved by manually adding the XmlNillable property on the 4gl field but the manual says this shouldn't be needed:
When getting an XML transformation into BDL, the Web Service engine will not raise an error and the variable is set correctly whether the variable tag is missing or has xsi:nil="true" set. In either case, the BDL variable is set as NULL.
https://4js.com/online_documentation/fjs-fgl-3.10.00-manual-html/#fgl-topics/c_gws_XML_attribute_XMLNillable.htmlIs the manual wrong, or am I doing something wrong?
Has fglwsdl any flag that allows XmlNillable to be put in the correct fields?
I attached a small 4gl program that serializes two tags.
* Record
ns1addV1Response has the xmlnillable property and works fine.
* Record
ns1addV2Response throws the error.
* The xml file has both tags with nil="true"
The test was done with Genero 3.10.
Thank you,
José Virtuoso