• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Troubleshooting

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.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint