Client stubs managing multipart changes
You must update client programs that call client stubs managing multipart.
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