Copy link to clipboard
Copied
org.xml.sax.SAXException: Deserializing parameter 'item': could not find deserializer for type {http://www.w3.org/2001/XMLSchema}anyType
I'm using Flex builder4 connecting to a CF 7 server. Using the sample Testdrive project when I invoke createEmployee in EmployeeService.cfc I get the error above.
I tried invoking the method via soapUI and CF chokes in the same manner.
What to do?
Thanks
Copy link to clipboard
Copied
If you have not specified an external WSDL file in your webservice where the arguments (with their types are defined) then you cannot use the type="any" in your webservice arguments.
If you want to use an external WSDL and define the argument types there you can do this by adding wsdlfile="nameOfExternal.wsdl" style="document" to your cfcomponent tag.