You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

All elements in SOAP have a nillable attribute that is set to true. 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="5f26376c-836d-49b0-bbea-9bdaf7f312d8"><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.

  • No labels