Description
Run idl2wsdl on the following
module TRY
{
const unsigned short idlMaxUserName = 20;
typedef sequence<unsigned short, idlMaxUserName> idlUserName;
};
... you'll see that if fails. If you change the boundary of the sequence to a literal, the problem goes away
module TRY
{
typedef sequence<unsigned short, 20> idlUserName;
};
but according to the CORBA 2.4 spec, any constant expression that evaluates to yield a positive integer can be used to specify the upper bound of a sequence.