PS. Either there's a solution to this or CFMX webservice support is a complete joke. I had to persuade my boss to use CFMX instead of .NET in this project on the basis that we could put out a solution faster. So please don't tell me that CFMX can't pass ENUM parameters. Has anyone else got the PostCodeAnywhere webservice running through CFMX?
D -----Original Message----- From: Douglas Humphris [mailto:[EMAIL PROTECTED] Sent: 15 August 2003 14:25 To: [EMAIL PROTECTED] Subject: [ cf-dev ] Passing ENUMs when calling a webservice Has anyone had any experience with calling Webservices that expect parameters of type: enum? I'm having problems trying to call the PostCodeAnywhere webservice and I think it's because two of the parameters are enums: <cfinvoke webservice="http://services.postcodeanywhere.co.uk/uk/lookup.asmx?wsdl" method="FastAddress" returnvariable="objFastAddress"> <cfinvokeargument name="Postcode" value="eh66sh"> <cfinvokeargument name="Building" value="25"> <cfinvokeargument name="Language" value="enLanguageEnglish"> <cfinvokeargument name="ContentType" value="enContentGeographicOnly"> <cfinvokeargument name="AccountCode" value="[myAccountCode]"> <cfinvokeargument name="LicenseKey" value="[myLicenseKey]"> <cfinvokeargument name="MachineId" value=""> </cfinvoke> Here's a snippet from the expected SOAP request: <FastAddress xmlns="PostcodeAnywhere2"> <Postcode>string</Postcode> <Building>string</Building> <Language>enLanguageEnglish or enLanguageWelsh</Language> <ContentType>enContentStandardAddress or enContentExpandedAddress or enContentGeographicAddress or enContentGeographicOnly</ContentType> <AccountCode>string</AccountCode> <LicenseKey>string</LicenseKey> <MachineId>string</MachineId> </FastAddress> all I get in response is: "Could not perform web service invocation "FastAddress" because java.lang.IllegalArgumentException: argument type mismatch" Any help much appreciated. Douglas -- ** 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] -- ** 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]
