Friday, April 27, 2012

flex - How can I pass the string "Null" through wsdl (SOAP) from AS3 to ColdFusion web service without receiving a "missing parameter error"? - Stack Overflow

flex - How can I pass the string "Null" through wsdl (SOAP) from AS3 to ColdFusion web service without receiving a "missing parameter error"? - Stack Overflow: "We have an employee whose last name is Null. He kills our employee lookup app when his last name is used as the search term (which happens to be quite often now). The error received (thanks Fiddler!) is

 
   soapenv:Server.userException
   coldfusion.xml.rpc.CFCInvocationException: [coldfusion.runtime.MissingArgumentException : The SEARCHSTRING parameter to the getFacultyNames function is required but was not passed in.]
Cute, huh?

The parameter's type is string. Using WSDL (SOAP). Flex 3.5 Actionscript 3 ColdFusion 8

Note that the error DOES NOT occur when calling the webservice as an object from a coldfusion page."

'via Blog this'