Skip to Content
0
Former Member
Feb 14, 2011 at 04:18 AM

Import WSDL with xsd:long incorrectly results in INT4

529 Views

When importing a WSDL, all fields marked as xsd:long result in INT4 in the proxy class. But long is [supposed to be|http://www.w3schools.com/schema/schema_dtypes_numeric.asp] 8-byte (64 bit). We thus get the following error:

SOAP:1.001 CX_SY_CONVERSION_OVERFLOW:XSLT exception.
An error occurred when deserializing in the simple transformation program 
/1SAI/TXS291D096A2B8E35E8375E.
Overflow converting from '2147483648'

<xsd:element minOccurs="0" name="Available" type="xsd:long"/>