Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

All elements in SOAP have a nillable attribute that is set to true; for example:

<result_string xsi:nil="true"/>

You should handle nillable attributes . You should be sure to handle this appropriately, depending on the programming language you are using.

Programming Language

Results

C#

Elements with the type int and the attribute nillable set to true are given the type "int?". You should typecast this to "int" when using the variables. For example:
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="fe09ae135f0509b3-62eb3832-4169485b-a1d3940b-529ac628f5f58f9724cead14"><ac:plain-text-body><![CDATA[Soap_Response_LicenseOrder RLO = c.GetLicenseOrderTemplate(L.token, (int) PL.result_array[0].ProductTemplates[0].id);

]]></ac:plain-text-body></ac:structured-macro>

Java

Elements with the type int and the attribute nillable set to true are changed to an instance of class Integer.

Please refer to your programming language documentation for complete information on how to handle nillable attributes.