It's the structs that are probably causing you the issue - they're completely non-interoperable. If you instead returned an array of some well-defined type (that is, a CFC you create), it should work fine. You can even just create a CFC that wraps a struct and store that in the array instead of the struct and it should work just fine.
Roland -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Phil Cruz Sent: Thursday, October 07, 2004 3:43 PM To: [EMAIL PROTECTED] Subject: [CFCDev] return types and web services and manually creating wsdl I have an app that exposes some web services. The services query the database and return the data as an array of structs. I have a Flash client that is able to consume the service and display the data. I'm trying out Lazlo and finding that it can consume the service but it doesn't understand/support the return type. The wsdl (generated by CFMX ) for the getUsers() method looks like <wsdl:message name="getUsersResponse"> <wsdl:part name="getUsersReturn" type="impl:ArrayOf_xsd_anyType"/> </wsdl:message> <complexType name="ArrayOf_xsd_anyType"> <complexContent> <restriction base="soapenc:Array"> <attribute ref="soapenc:arrayType" wsdl:arrayType="xsd:anyType[]"/> </restriction> </complexContent> </complexType> >From looking at the docs (http://www.laszlosystems.com/lps-2.2/docs/guide/rpc-soap.html#d0e23561) it seems these data types are not supported. The Lazlo example apps demonstrate working with the google web service http://api.google.com/GoogleSearch.wsdl I think I need to manually generate the wsdl to be compatible with Lazlo. Any pointers on how to do that? Thanks, Phil ---------------------------------------------------------- You are subscribed to cfcdev. To unsubscribe, send an email to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev' in the message of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by Mindtool, Corporation (www.mindtool.com). An archive of the CFCDev list is available at www.mail-archive.com/[EMAIL PROTECTED] ---------------------------------------------------------- You are subscribed to cfcdev. To unsubscribe, send an email to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev' in the message of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by Mindtool, Corporation (www.mindtool.com). An archive of the CFCDev list is available at www.mail-archive.com/[EMAIL PROTECTED]
