Web Services Arguments

ColdFusion Component arguments are Web Service arguments. Simple, right? Not exactly, there is an important difference. CFCs can have optional arguments (set REQUIRED=”no”), but those same arguments will actually be required when the CFC is accessed as a Web Service. If you really do need optional arguments then you may want to wrap methods into simpler exposed methods, possibly creating multiple for the different sets of arguments. (Applies to: ColdFusion MX)

Leave a Reply