Does max and min matter in the SOAP web service?

If I specify a parameter in my WSDL that is of type xsd: int, what are the maximum and minimum values ​​for this parameter? Does it depend on the technology in which the web service is implemented? I use Java, so the int type in Java limits me, or if the web services library (Axis) handles this?

+4
source share
2 answers

Yes, 32 bits. From Eric van der Vlist Link to the RelaxNG data source :

<xsd:simpleType name="int" id="int"> <xsd:restriction base="xsd:long"> <xsd:minInclusive value="-2147483648"/> <xsd:maxInclusive value="2147483647"/> </xsd:restriction> </xsd:simpleType> 

Also, from the W3C XML Schema Recommendation, Part 2 :

int is inferred from long, setting the value of maxInclusive should be 2147483647 and minInclusive -2147483648

+12
source

According to this page , xsd: int is:

... is a set of common one-dimensional integers (32 bits), integers between -2147483648 and 2147483647.

+4
source

All Articles