Troubleshooting

     
graphics/troubleshooting_icon.jpg

Invoking a function as a Web service, I'm getting an error message like, "Web service operation 'getSiteName' with parameters { } could not be found." I know the CFC with this function is there, and I'm addressing it correctly. Why can't it be found?


The clue to your problem is in the mention of "parameters" in the error message. The function you are invoking requires one or more arguments that you are not providing. (Remember that when you invoke a function as a Web service, even arguments defined as not being required are required.) Basically, ColdFusion is telling you, "I can't find a Web service method (function) with this name that doesn't take any parameters ." Provide the parameter(s), and your problem should be solved .



Using Macromedia Studio MX 2004
Special Edition Using Macromedia Studio MX 2004
ISBN: 0789730421
EAN: 2147483647
Year: N/A
Pages: 339

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net