function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Gino BassoGino Basso 

Limited support for standard XSD integral types

Neither positiveInteger nor nonNegativeInteger seems to be supported by the processor that generates Apex code from a WSDL document. I believe there's another post that complains about the short type as well.
 
Somewhat contrarily, if the integral type has a restriction everything works fine, though if you look at the generated Apex code it would appear that this is just treated as a custom type whose semantics are unknown.
 
This lack of support for these standard types is somewhat onerous in that one is forced to manually alter a third-party WSDL in order to generate the corresponding Apex code.
 
Are there any plans to enhance the WSDL support for Apex?
 
-Gino