Skip navigation
lidBanger
Currently Being Moderated

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

Feb 11, 2011 3:35 PM

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

 
Replies
  • Currently Being Moderated
    Jun 6, 2012 4:30 AM   in reply to lidBanger

    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.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points