Tech Tip: Returning SOAP arguments greater than 32K
PRODUCT: 4D | VERSION: 2004.1 | PLATFORM: Mac & Win
Published On: April 7, 2005
4D allows you to create and publish your own Web Services easily. In previous versions of 4D, you were allowed to create arguments that passed data greater than 32K, but in order to do so, you had to make a SOAP DECLARE statement and specify a blob type. For example:
In XML Schema Definition terms this meant using the type base64binary. In 4D 2004.1 this is no longer necessary. For example:
Notice that the $0 variable is of BLOB type which allows you to hold data of more than 32K. But also notice the SOAP type is Text. Instead of using base64binary, this time we will use XML Schema Definition type string.