0 Replies Latest reply on Aug 12, 2008 1:18 PM by videveloper

    RPC vs. message-based webservice

    videveloper
      Must cfinvoke be constructed differently if consuming a message-based webservice as opposed to an RPC webservice?

      The publisher of the webservice indicates their URL is for message submission only and does not host the WSDL file. They have provided the WSDL for me to review (actual file) but how do I plug that into cfinvoke?

      I'm using the standard cfinvoke:
      <cfinvoke
      webservice="https://whatever.com/soap/echo"
      method=""
      username=""
      password=""
      argumentcollection="#webServiceParams#"
      returnvariable="#serviceResult#" />

      If a message-based webservice does not use a method call, must the 'method' attribute in cfinvoke be removed?

      When I attempt to consume this webservice I receive the following error snippet:
      faultCode=INVALID_WSDL: Expected element '{ http://schemas.xmlsoap.org/wsdl/}definitions'.

      Ideas???