问题:
We have an employee whose surname is Null. 我们有一个姓为Null的员工。 Our employee lookup application is killed when that last name is used as the search term (which happens to be quite often now). 当使用该姓氏作为搜索词时,我们的员工查找应用程序将被杀死(这种情况现在经常发生)。 The error received (thanks Fiddler!) is: 收到的错误(感谢Fiddler!)是:
<soapenv:Fault>
<faultcode>soapenv:Server.userException</faultcode>
<faultstring>coldfusion.xml.rpc.CFCInvocationException: [coldfusion.runtime.MissingArgumentException : The SEARCHSTRING parameter to the getFacultyNames function is required but was not passed in.]</faultstring>
Cute, huh? 可爱吧?
The parameter type is string
. 参数类型为string
。
I am using: 我在用:
Note that the error does not occur when calling the webservice as an object from a ColdFusion page. 请注意,从ColdFusion页面将Webservice作为对象调用时,不会发生该错误。
解决方案:
参考一: https://stackoom.com/question/IhK2/如何在ActionScript-中将-Null-真实的姓氏-传递给SOAP-Web服务参考二: https://oldbug.net/q/IhK2/How-to-pass-Null-a-real-surname-to-a-SOAP-web-service-in-ActionScript-3
来源:oschina
链接:https://my.oschina.net/u/4438370/blog/4294111