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]
