Upgrade Guides for Genero BDL / 2.50 upgrade guide |
You must update client programs that call client stubs managing multipart.
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
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