http://www.webreference.com/programming/coldfusion/1/2.html http://www.15seconds.com/issue/020710.htm
>>where null is set to chr(0), but I'm getting an argument type mismatch you should not have to set null to chr(0) its just a string in the cfc as below and this scope makes its accessible outside cfc <cfcomponent> <cfset this.permission = "null"> <cfcomponent> test it with a page that calls the cfc <cfdump var="#cfcname#"> make sure admin has registered the web service and can connect to it. hope above helps a little Colm -----Original Message----- From: Stephen Moretti [mailto:[EMAIL PROTECTED] Sent: 28 November 2003 15:26 To: [EMAIL PROTECTED] Subject: [ cf-dev ] Webservices.... ~sigh~ 'lo..... Couple of questions..... Anyone got some good resources for consuming web services with CFMX?? Google hasn't turned up much, but then I'm probably using the wrong search terms. Other question - how can I send NULL through to a web service?? I've got : enetws = CreateObject("WebService",wsURL); response = enetws.Login(userName="stephen", password="foo"); LPResponse = enetws.ListProducts(permission=#null#, dateRange=#null#, postCodeArea=#null#, rtb=#null#, hasRatings="Either", productType=#null#); where null is set to chr(0), but I'm getting an argument type mismatch from the web service. Any thoughts? Regards Stephen -- ** 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] --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.530 / Virus Database: 325 - Release Date: 22/10/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.530 / Virus Database: 325 - Release Date: 22/10/2003 -- ** 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]
