As per the CF docs, I'm trying to construct a CFC to represent the transfer objects for a webservice I am invoking. And it doesn't work, but a struct *with identical fields to the CFCs cfproperty tags* does !
The CFC version fails on the cfinvoke tag with "Could not perform web service invocation "createZone" because java.lang.IllegalArgumentException: argument type mismatch" Does cfinvoke expect a struct rather than 'any' type or something ? There are indications on http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/webser39.htm that other people have had the same problem. I suppose I could give my TO CFC a .toStruct(), but that isn't right according to the docs - argh ! Anyone else consuming web services with complex arguments ? The stuct: struct ALARMRANGE 0 CHANGEDATE 0 ID -1 NAME Head Office ?, Harpenden OWNERID 426 OWNERTYPE 1 PLATFORMID 0 VERSION 0 ZONEACTIVE 1 ZONETYPE 1 The CFC: component com.bluefinger.saffire.zone.TO NAME Head Office ?, Harpenden CHANGEDATE 0 OWNERID 426 PLATFORMID 0 ZONEACTIVE 1 VERSION 0 ID -1 ZONETYPE 1 OWNERTYPE 1 ALARMRANGE 0 -- Tom Chiverton Advanced ColdFusion Programmer Tel: +44 (0)1749 834900 email: [EMAIL PROTECTED] BlueFinger Limited Underwood Business Park Wookey Hole Road, WELLS. BA5 1AF Tel: +44 (0)1749 834900 Fax: +44 (0)1749 834XXX web: www.bluefinger.com Company Reg No: 4209395 Registered Office: 2 Temple Back East, Temple Quay, BRISTOL. BS1 6EG *** This E-mail contains confidential information for the addressee only. If you are not the intended recipient, please notify us immediately. You should not use, disclose, distribute or copy this communication if received in error. No binding contract will result from this e-mail until such time as a written document is signed on behalf of the company. BlueFinger Limited cannot accept responsibility for the completeness or accuracy of this message as it has been transmitted over public networks.*** ---------------------------------------------------------- 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 [EMAIL PROTECTED]
