Web Services changes

There are changes in support of web services in Genero 2.50.

Client stubs managing multipart changes on client side

Important: This change has been backported from version 3.00

Starting with version 2.50.25, when generating client stubs managing multipart, you get an extra input and/or output variable called "AnyInputParts" and "AnyOutputParts" that is a DYNAMIC ARRAY of com.HTTPPart objects. Those variables may contain additional input and/or output HTTP parts not specified in the WSDL. You will have to adapt your client program by handling those dynamic arrays in any Genero functions calling such stubs.

Request example prior to 2.50.25:

FUNCTION xxx_g(InputHttpPart_1, ..., InputHttpPart_n)
  DEFINE InputHttpPart_1 com.HTTPPart
  ...
  DEFINE InputHttpPart_n com.HTTPPart
  ...
  RETURN wsstatus
END FUNCTION
Request example 2.50.25 and greater, with extra input variable AnyInputParts:
FUNCTION xxx_g(InputHttpPart_1, ..., InputHttpPart_n)
  DEFINE InputHttpPart_1 com.HTTPPart
  ...
  DEFINE InputHttpPart_n com.HTTPPart
  DEFINE AnyInputParts DYNAMIC ARRAY OF com.HTTPPart
  ...
  RETURN wsstatus
END FUNCTION

Web Services deprecated APIs

The methods listed in the following table are deprecated in version 2.50.

Table 1. Table of deprecated methods (with their alternative)
Method deprecated as of 2.50 Alternative method to use
com.Util.CreateDigestString security.Digest.CreateDigestString
com.Util.CreateRandomString security.RandomGenerator.CreateRandomString
com.Util.CreateUUIDString security.RandomGenerator.CreateUUIDString