Hiya all Can anyone help.
We are considering using MX as part of a project I am working, and I am carrying an investigation as to whether it meets our requirements. Part of those requirements is that one of our <cfcomponents> must take an argument of an array of structs of a particular format as one of its arguments Now, I know MX can verify that a SOAP request has the correct number of arguments, and that each of these arguments is of the correct type. Furthermore MX has a number of built-in types that it can recognise 'out-of-the-box'. These being; numeric boolean array binary date void struct And MX goes even further, in that you can define your own complex types, see; /cfdocs/Developing_ColdFusion_MX_Applications_with_CFML/webservices5.html#1203363 Now, the service we wish to build will take a number of primative types, forname, surname, age etc and an array. This array is to contain service_applications items. A service_application itself consists of a number primitive arguments, serviceID, serviceStartDte etc. It makes sense to represent a service_application item as a complex type, defined using the process given in the cfdoc referenced above. However, how is it that I can tell the cfcomponent to expect not simply an array, but an array of service_application items? If CFMX cannot do this, then surely CFMX has not exposed the full expresibility of the underlying SOAP layer? It is simple to manually construct a SOAP request which specifies an argument as an array of a specific type by deriving the argument type from SOAP-ENC:Array, and specifiying the contained type using SOAP-ENC:arrayType attribute. How is this done in CFMX? -- ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] For human help, e-mail: [EMAIL PROTECTED]
