Skip to main content
lidBanger
Participant
February 11, 2011
Question

org.xml.sax.SAXException: could not find deserializer {} anyType

  • February 11, 2011
  • 1 reply
  • 9016 views

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

This topic has been closed for replies.

1 reply

Participant
June 6, 2012

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.