Skip to main content
Upen1
Inspiring
March 10, 2011
Question

Web service operation ... with parameters {} cannot be found

  • March 10, 2011
  • 2 replies
  • 3032 views

Hi All,

I am accessing a web service of a web site using ColdFusion.Each time I am calling the web service I am getting the message "Web service operation ... with parameters {} cannot be found".The wsdl file showing the parameter as complex type .So I have passed value to the particular method using structure and xml type each time I gets that error message.I can not post here the wsdl for security reason.

When I am calling this Web service from .net it is working without any problem. .NET directly creating the objects of the parameter which the method is needed from the wsdl but I don't know whether it is possible in ColdFusion or not.Also I don't know whether the web service in .net or in other language.

Please suggest something.

Thanks

Upen

    This topic has been closed for replies.

    2 replies

    Yoosaf Abdulla
    Participating Frequently
    November 27, 2013

    Make sure you have the arguments datatype at invoke and definition are matched with what you send.

    Owainnorth
    Inspiring
    March 10, 2011

    Are you submitting *all* the parameters it requires, even if they're optional?


    Sounds stupid I know, but I've seen this before calling webservices with optional arguments. Rather than not passing them at all, you have to pass them using the CFINVOKEARGUMENT with the omit="true" attribute.

    O.

    Upen1
    Upen1Author
    Inspiring
    March 10, 2011

    Thanks for your response.

    Yes, I have passed all the arguments but it seems the web application is coded in .net and by googling I came to know that if the .net receives a complex type of object then it creates problem when we pass argument from coldfusion.(means type mismatch)

    If you know about it please suggest .