The consumer is created based on the WSDL, which is the one who defines if the parameter is optional or not.
If parameter exists, when you execute the consumer from developer do NOT fill in any value. If this give you an error then check if WSDL defines this parameter as optional.
Regards.
#API-Management#webMethods#soa